Posts by David Fornazier • 111 points
5 posts
-
1
votes2
answers351
viewsA: Joptionpane in the foreground
Hello, from what I saw the syntax is wrong. Test the code below: JOptionPane.showMessageDialog(null, //frame de referêcia "Usuário ou senha incorreto!", //mensagem para o usuario "Inane error",…
-
2
votes1
answer229
viewsA: Curl cookies expires vs n/a
Documentation on the PHP website about the CURLOPT_COOKIEFILE: The name of the file containing the cookie data. The cookie file can be in Netscape format, or just Plain HTTP-style headers dumped…
-
2
votes1
answer251
viewsA: My datepicker should only work on the icon
This happens because your datepicker is related to your input and also with the click on its icon. Then you will have to create a trigger in his icon/button, only for it to trigger its datepicker.…
-
2
votes4
answers130
viewsA: how can I put a condition in if so that it doesn’t happen if the array has "..." at the end of the sentence
Try this: if (!stripos($string, "...") { //se ela achar as retiscencias ela não executa //seu codigo AQUI } What she’ll do is, look in her variable string if there is some part of the text "...", if…
-
0
votes2
answers238
viewsA: Is it possible to reuse the parameters of a Query in JPA?
No, every Query must contain its own parameter. For each Query is executed independently of each other, and therefore the parameter is not reused from each other. But you can use a variable param…