Search:

Type: Posts; User: PekinSOFT.Systems

Search: Search took 0.15 seconds.

  1. Replies
    4
    Views
    5,011

    Re: Problem with reset on JComboBox.

    And, just as a side note, a String is an Object...Every class in Java is derived from Object. From the API documentation:

    java.lang.Object
    extended by java.lang.String


    Cheers,

    Sean C....
  2. Replies
    3
    Views
    2,282

    Re: traversing multiple jTabbedPane?

    dewboy3d,

    One thing that you could do is move your redundant code into functions. For example, you could have a function called `setButtons', which sets the enabled state of the buttons as is...
  3. Replies
    3
    Views
    1,417

    Re: Problem with KeyListener

    Try this, r12ki:



    this.getRootPane().setDefaultButton(btnOK);


    Cheers,

    Sean C.
  4. Replies
    0
    Views
    1,591

    Issue with JTextField Locking

    Hey All!

    I'm working on a database access project and have most things working pretty well, with one glaring exception.

    I've got a JInternalFrame form with 13 data fields to act as a front-end...
  5. Replies
    2
    Views
    1,857

    Re: do actions in ComboBox

    You kind of answered your question as you asked it...

    You said in your question, "according to the selected item".

    The last two words that I quoted above are your answer. Anytime you want to...
  6. Re: How can i make the components resizable?

    If you are using the NetBeans IDE to develop your project, you can set the point(s) to which your objects are anchored and then set which direction you want them to automatically resize.

    Now, I...
  7. Replies
    3
    Views
    4,074

    Re: The Frame to be Center Position

    Actually, the best way to center your form on the desktop is to use the java.awt.Toolkit API.

    For example:



    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    int...
Results 1 to 7 of 7