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 Swing

Options
  • 28-03-2005 5: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 Posts: 261 ✭✭HaVoC


    setIconImage sounds like it should work.

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


Advertisement