Posts by Matheus Lopes • 107 points
8 posts
-
0
votes0
answers209
viewsQ: Taking textarea data from a Jtable
I know how to use the DefaultTableModel is not the best way to make the tables, however I have not mastered anything of AbstractTableModel, i have a table that is edited as Jtextarea, but when I…
-
1
votes1
answer628
viewsQ: Add line with empty fields in a Jtable
I have a AbstractTableModel only that I do not know how to add blank lines, when pressing the add line button on my frame I want it to call a method called addLine() of my Modelotabela, someone can…
-
1
votes1
answer810
viewsQ: Mysql backup by java
Good afternoon, I have a cmd that correctly backs up my database, but when running in java it does not open the cmd in the expected way, it follows the code: package sistemaMiriam.backup; import…
-
0
votes2
answers52
viewsA: Select from empty data
Problem solved, such as the jTable does not print what is null, I have made it that every time I register a new patient he automatically had his first payment with a "null" date, in case…
-
0
votes2
answers52
viewsQ: Select from empty data
My code returns all users, checking if they paid the last month, however I connect two tables, one of all customers with the registered payments table, I want to print on jTable even if you have no…
-
3
votes2
answers469
viewsA: Word break
I don’t have the code anymore, but I remember I did it this way: String variavel = System.getProperty("line.separator"); When I wanted to break the line I pulled the variable…
-
2
votes2
answers469
viewsQ: Word break
I’m trying to make a line break in a Array, but I am not succeeding in trying to execute the split(), summarizing, I want to make a table of 10 rows with 2 columns that acquire the values of list…
-
3
votes1
answer230
viewsQ: Problem switching from Controller to Model
I’m making a code where it involves MVC. To get past the View to the Controller I’m not having problems, but when will I pass the Controller to the Model I can’t do it, the variable is imported, but…