Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Java - JTextField not showing correctly in Windows 2000

Options
  • 12-03-2008 8:50pm
    #1
    Registered Users Posts: 819 ✭✭✭


    I'm having a problem where the textfields in my application aren't showing correctly on a machine running Windows 2000. They appear as expected on a machine Windows XP.

    The textfields are created and added to a gridbaglayout as follows:

    textField11 = new JTextField(40);
    c.gridwidth = 1;
    c.gridx = 0;
    c.gridy = 1;
    add(textField11,c);

    I have attached a screenshot of the textfields running in XP and Win 2000. Both machines are running jdk1.6.0_04, anyone have any ideas why they don't show up properly in Windows 2000?


Advertisement