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
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

java?

  • 11-02-2003 12:22pm
    #1
    Registered Users, Registered Users 2 Posts: 618 ✭✭✭


    how do you make the java gui look like vb


Comments

  • Registered Users, Registered Users 2 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, Registered Users 2 Posts: 618 ✭✭✭johnnyc


    thanks for the code


  • Registered Users, Registered Users 2 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, Registered Users 2 Posts: 618 ✭✭✭johnnyc


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


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


    sorry that comment was meant for this link


Advertisement