Search:

Type: Posts; User: puzzledstudent

Search: Search took 0.31 seconds.

  1. Replies
    5
    Views
    1,613

    Re: Null Pointer Exception Help!!

    Thanks for the info!

    My program runs fine after I edit the code, but now my font does not change when i try to select a different font.


    import java.awt.BorderLayout;
    import java.awt.Font;...
  2. Replies
    5
    Views
    1,613

    Re: Null Pointer Exception Help!!

    Sorry about the line numbers...

    I'm sort of new to Java Programming, but what do you mean by instantiating comboBox?

    Do I add this?

    ComboBox comboBox = new ComboBox();


    (again..sorry if...
  3. Replies
    5
    Views
    1,613

    Null Pointer Exception Help!!

    Hi, I'm trying to build a two classes:
    1) One to add the panels
    2) The panel class

    The code compiles fine, but when i run it, i get a null pointer exception on line 52 of TestFrame (the class)...
Results 1 to 3 of 3