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 Swing

  • 28-03-2005 4:31pm
    #1
    Closed Accounts Posts: 2


    Hey,

    2 questions,

    1: how can you change the icon that appears on the top left of a window?
    2: how can you open up seperate windows, with seperate tabs? from the same program.

    Cheers


Comments

  • Closed Accounts Posts: 175 ✭✭bdiddy


    I dont know about the icon on the top left but to open a new window, you should probably create a new JFrame either with the information you want or if its a window you've already created assign the old JFrame to the new one.

    dont forget to set the frame visible using the setVisible(true) function


  • Registered Users, Registered Users 2 Posts: 261 ✭✭HaVoC


    setIconImage sounds like it should work.

    As for the windows, what do ya mean by with seperate tabs ?


Advertisement