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?

Options
  • 11-02-2003 1:22pm
    #1
    Registered Users Posts: 618 ✭✭✭


    how do you make the java gui look like vb


Comments

  • Registered Users Posts: 6,240 ✭✭✭hussey


    Look like VB??

    or look like windows??


  • Posts: 0 [Deleted User]


    I'm not too sure on the effectiveness of this approach but it works so there! :)

    Try this in the application, when running it on Windows...

    try
    {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    }
    catch(Exception e)
    {
    e.printStackTrace();
    }

    Hope it's what you're looking for :)
    all the best


  • Registered Users Posts: 618 ✭✭✭johnnyc


    thanks for the code


  • Registered Users Posts: 15,443 ✭✭✭✭bonkey


    It should be noted that the code there does not strictly set the look and feel to that of windows, but rather sets it to the default for the current OS.

    jc


  • Registered Users Posts: 618 ✭✭✭johnnyc


    Just wondering is there a girl called Hannah Fortune is she still in it Carlow


  • Advertisement
  • Registered Users Posts: 618 ✭✭✭johnnyc


    sorry that comment was meant for this link


Advertisement