Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!

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
0
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

Hi, I solved my problem.
This is where are my problem.

Then I changed this method to:

And:

Thanks and best regards.
1 week ago
Hi, sorry by delay. I don't understand the last contact. What is " instance field to hold the reference to the frame?". How define this. About your code example I get the Name and PassWord to locate in my DB table and get the column tipo, the column tipo show me  what JFrame I must to open.
1 week ago
Hi, the line 25 is to execute another JFrame to make other things like record new user in my db tables and so on, line 25 are ok. After execute line 25 both frame is visible my Login frame and the PageUsuario loaded by line 25 that is correct. What I want is to close the Login frame by method dispose in line 27.
2 weeks ago
Hi, after enter login and my condition be accepted my page PageUsuario is loaded fine but the dispose don't doing.

Where I'm wrong.
2 weeks ago
Hi, I have an JFrame for login, after make login the new JFrame class  is loaded fine. The JFrame that is loaded have many JInternalFrame that work without problem. My problem is that I can't close the Login Jframe. How I close my JFrame Login?
Below my Login class.

And here the JFrame that is called by Login.

Thanks.
2 weeks ago
Ops, Ops, sorry my forgetfulness.
1 month 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 month 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 month ago
Hi, I solved my problem, below the solution:

Thanks and best regards.
1 month ago
Ok...

How I sayed this work fine.
1 month 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.
1 month 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.
1 month ago
Hi, sorry by my mistake you is right.
2 months ago
Now the pdf file are opened after change to Desktop.open method.
Thanks and best regards.
2 months 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.
2 months ago