Posts by Jonathan CR • 673 points
58 posts
-
2
votes1
answer37
viewsA: I need to modify the action taken when closing a Jframe
If there is, in netbeans the most practical way is to click with the right button on top of your jframe and go into properties.. in the first line will already have a defaulCloseOperation... has 4…
-
0
votes3
answers2475
viewsA: Return 0 if the value does not exist in the table
makes a change to the table Voce wants, specified in the whole column.. so where null replaces to a default value like "0"... example: ALTER TABLE estoque CHANGE COLUMN qtd DOUBLE NULL DEFAULT 0 ;…
-
1
votes1
answer53
viewsA: Problem with a one-way structure
Dude, the ideal is for you to have methods for every thing you want to do separately and not all in one.. for example, you can have a method of checking user (return Boolean), and another to change…
-
0
votes2
answers33
viewsA: How do I list a searched user in the database with a Jtable?
Your question was a bit messy and your code doesn’t help you much, but we’ll be there... From what I understand of the title of belonging is to list or fill a jtable with users of a database.. Good…
javaanswered Jonathan CR 673 -
0
votes1
answer40
viewsA: login/password data validation
Dude, I don’t understand what your DAO class is referring to, but come on... For starters obviously if you want to do a loguin you have to have the loguin information in the database... I recommend…
javaanswered Jonathan CR 673 -
1
votes1
answer66
viewsA: I need some help!
taking into account that the Customer class is extending person.. ArrayList<Pessoa> array = new ArrayList<>(); array.add(new Pessoa()); array.add(new Cliente());…
javaanswered Jonathan CR 673 -
0
votes2
answers700
viewsA: How to know how many positions an array has in Java?
Using the length method returns how many positions there are in an array. dadosCSV.length
-
1
votes1
answer52
viewsA: How to get data from Jframe
Well, jframe is nothing more than a class, so you could for example in jframe that will be given the return of the information create variables that will save this information so that when it…
javaanswered Jonathan CR 673