Hello guys am trying to display the contents of a database table on a JTable by selecting a database table from a JComboBox. My efforts aren't yielding results. Below is my code;
package...
Type: Posts; User: aknessy
Hello guys am trying to display the contents of a database table on a JTable by selecting a database table from a JComboBox. My efforts aren't yielding results. Below is my code;
package...
Hi @GregBrannon Its been awhile! You requested I post the latest code; fortunately i've solved "The Problem". It turned out that the designer (JiGloo) i was working with had a serious beef with me!...
Working for weeks to complete a project out weighs that... It's infact
"Stepping off the edge"! Thanks really, now I can go figure everything! Except I run into another "cyclope"!
Thanks man! Your response alone is really a psychological boost! Thanks again!!
Okay.. No problems! I just nid to figure it out, thanks though!
@GregBrannon whats up Elite? Been expecting your reply since your last post! can see you are in a relax mood.
Exactly! I want the JFrame to start at the exact same time as the Timer and ending at the same time.
That's true @GregBrannon., I apologize for the error! There's a Call to CreateLogRemainder Class within the run() method of the Thread, it contains the JFrame that I want to display while the Timer...
Hello Guys! I want to display a JFrame during execution of a timer, so far i've tried but failed. The following code is what i have done so far, dont know if am doing the right thing:
/**
...
Thanks for your kind replies! I found the solution, was doing something wrongly.
Please can someone point out to me why the commented lines aren't been executed?
public boolean managerLogin(int id, String usn, String pwd, boolean in){
try{
try{...
I Tried that before the ActionListener and it gave me the same thing, which was nothing! I'll keep trying though!
--- Update ---
Am sure of my data presence and DB Connection, because i have...
@Muhammad: the phoneModelComboBox remains blanks Even when i select an item from brandCombo.
Thanks @Mr. Norm
Am trying to change the contents of a JComboBox - phoneModelCombo based on items selected by in another JComboBox - brandCombo. I will appreciate any resource, help that would help me fix this issue....
Does it mean am supposed to convert it to a string using the toString() method of String class before outputting it?
Am trying to refresh my ComboBox field with the following code with values from my database:
public ComboBoxModel phoneIdCombo(DefaultComboBoxModel model){
try{
try{...
Never Mind! Solved It already! Thanks Though!
Thanks for your suggestions guys, but i found an easier solution in JTabbedPane. I'll just stick with that! thanks though.
Ok lets say you have a JFrame with a mainPanel that is initially empty (that is; it has no components by default) and then you want to add a component to it - like another JPanel - by clicking a...
:confused: Please am trying to understand how to insert a standalone JPanel (viewPanel) that doesn't extend a JFrame into another JPanel (mainPanel) that is in a JFrame. Would have posted the code,...
I understand what you are trying to say man, my bad! the method isn't errCheck(), the method is err(). errCheck is a variable referencing the method err(). err() is a method in a Class named...
Why not just call the dispose() method on the LoginGUI if login/LogOut is successful?
--- Update ---
...That is if the LoginGUI extends a JFrame.
Sorry can i get the Java SE 6 API documentation in the Forums?
Thanks man! lesson learned!
i think the dispose() method worked just fine! Thanks a bunch, you've really cured my headache!