Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Java - JTextField not showing correctly in Windows 2000

  • 12-03-2008 08:50PM
    #1
    Registered Users, Registered Users 2 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