Search:

Type: Posts; User: aknessy

Page 1 of 2 1 2

Search: Search took 0.11 seconds.

  1. Replies
    0
    Views
    967

    Binding A JComboBox To A JTable

    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...
  2. Replies
    13
    Views
    1,292

    Re: Java Concurrency

    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!...
  3. Replies
    13
    Views
    1,292

    Re: Java Concurrency

    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"!
  4. Replies
    13
    Views
    1,292

    Re: Java Concurrency

    Thanks man! Your response alone is really a psychological boost! Thanks again!!
  5. Replies
    13
    Views
    1,292

    Re: Java Concurrency

    Okay.. No problems! I just nid to figure it out, thanks though!
  6. Replies
    13
    Views
    1,292

    Re: Java Concurrency

    @GregBrannon whats up Elite? Been expecting your reply since your last post! can see you are in a relax mood.
  7. Replies
    13
    Views
    1,292

    Re: Java Concurrency

    Exactly! I want the JFrame to start at the exact same time as the Timer and ending at the same time.
  8. Replies
    13
    Views
    1,292

    Re: Java Concurrency

    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...
  9. Replies
    13
    Views
    1,292

    Java Concurrency

    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:




    /**
    ...
  10. Replies
    3
    Views
    1,061

    Re: Unable to authenticate!

    Thanks for your kind replies! I found the solution, was doing something wrongly.
  11. Replies
    3
    Views
    1,061

    Unable to authenticate!

    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{...
  12. Replies
    6
    Views
    993

    Re: Dynamic JComboBoxes

    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...
  13. Replies
    6
    Views
    993

    Re: Dynamic JComboBoxes

    @Muhammad: the phoneModelComboBox remains blanks Even when i select an item from brandCombo.
    Thanks @Mr. Norm
  14. Replies
    6
    Views
    993

    Dynamic JComboBoxes

    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....
  15. Replies
    3
    Views
    1,080

    Re: javax.swing.DefaultComboBoxModel@1a38598

    Does it mean am supposed to convert it to a string using the toString() method of String class before outputting it?
  16. Replies
    3
    Views
    1,080

    javax.swing.DefaultComboBoxModel@1a38598

    Am trying to refresh my ComboBox field with the following code with values from my database:



    public ComboBoxModel phoneIdCombo(DefaultComboBoxModel model){
    try{
    try{...
  17. Replies
    8
    Views
    1,025

    Re: Method Invokation

    Never Mind! Solved It already! Thanks Though!
  18. Re: Calling a JPanel into another Jpanel in a JFrame

    Thanks for your suggestions guys, but i found an easier solution in JTabbedPane. I'll just stick with that! thanks though.
  19. Re: Calling a JPanel into another Jpanel in a JFrame

    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...
  20. Calling a JPanel into another Jpanel in a JFrame

    :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,...
  21. Replies
    8
    Views
    1,025

    Re: Method Invokation

    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...
  22. Replies
    4
    Views
    3,363

    Re: How to exit a login form

    Why not just call the dispose() method on the LoginGUI if login/LogOut is successful?

    --- Update ---

    ...That is if the LoginGUI extends a JFrame.
  23. Thread: System.exit(0)

    by aknessy
    Replies
    7
    Views
    1,108

    Re: System.exit(0)

    Sorry can i get the Java SE 6 API documentation in the Forums?
  24. Thread: System.exit(0)

    by aknessy
    Replies
    7
    Views
    1,108

    Re: System.exit(0)

    Thanks man! lesson learned!
  25. Thread: System.exit(0)

    by aknessy
    Replies
    7
    Views
    1,108

    Re: System.exit(0)

    i think the dispose() method worked just fine! Thanks a bunch, you've really cured my headache!
Results 1 to 25 of 30
Page 1 of 2 1 2