Cezar Apulchro

Ranch Hand
+ Follow
since Feb 13, 2013
Cows and Likes
Cows
Total received
2
In last 30 days
0
Total given
0
Likes
Total received
8
Received in last 30 days
1
Total given
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cezar Apulchro

Ops, Ops, sorry my forgetfulness.
1 week ago
Hi, I solved my problem, first I have added a String "Sel."  in my JComboBox after that just do test. This is shown below.
Here I add the 'Item"  and populate by 'for command':

Here is the test:

When the result is zero the record is ready to be recorded;
Thanks and best regards.
1 week ago
Hi, I have a class java with JComboBox that work fine. The problem is that if my user do not choose an item in the JComboBox the first item is set as default and this item is get by my getSelectedItem command, my question is how to force to the user select a item.
Thanks and best regards.
1 week ago
Hi, I solved my problem, below the solution:

Thanks and best regards.
3 weeks ago
Ok...

How I sayed this work fine.
3 weeks ago
Hi, I have an java class that call some JInternalFrame by clicked button, program work fine but what I want is when click new button the old JInternalFrame be closed. Im using the dispose();  but arent working. How to solve this.
Here are only three methods of my class:

Thanks.
3 weeks ago
Hi, problem is solved. My AbstractTableModel was with error in definition. Below is correct version and the method that call of the AbstractTableModel.

Method:

Thanks and best regards.
3 weeks ago
Hi, sorry by my mistake you is right.
1 month ago
Now the pdf file are opened after change to Desktop.open method.
Thanks and best regards.
1 month ago
Hi, I have a class that use JasperSoft Studio to generate a report, this class are generating the report without problem. The problem is that when I try to open this pdf generated I gain path unrecognized.
This is where the error occur.

The problem are in Runtime command.
Thanks in advance.
1 month ago
Hi, if i understand correctly here are the clas to test.
AbstractTableModel:

JFrame that use my abstractable:

In my jframe has only the necessary to test:

And to see if my ArrayList was loaded:

Thanks.
1 month ago
Hi,

1. where is the frame?

2. where is the JButton?

3. where is the main() method?


My JFrame and JInternalFrame are working fine except to show data in JTable.
In line 13 I have the addRow method.
Thanks.
1 month ago
Hi, I changed my class to use defaulttablemodel but the table don't show the records.
Below my table:

Method to show:

Thanks.
1 month ago
Hi, I don't know how I do that. I changed my scrollpane but the problem still the same the records are not shown.
New scrollpane:

1 month ago
Hi, nullpointerexception are solved but records is not show in the table.
1 month ago