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

scream at screen

Options
  • 15-01-2002 4:04pm
    #1
    Closed Accounts Posts: 8,478 ✭✭✭


    alo

    new to java [as my previous threads dictate]

    neyways, ive some screens made, just buttons that dont do anything

    wat i wana do is, for example

    when NEW MEMBER is pressed, the NEW MEMBER screen is opened

    how do i make that button cause the prog to go to a different screen ?

    trying to research JDesktopPane and JInternalFrame but its all getting a bit confusing....

    point me in the right direction ?


Comments

  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Post the event listener code for the button ...


  • Closed Accounts Posts: 8,478 ✭✭✭GoneShootin


    IWTG2Frame tempFrame = new IWTG2Frame();
    tempFrame.setSize(200,200);
    tempFrame.setVisible(true);

    found it, not exactly what i want but i can learn from it :)


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Do you still want help?


  • Closed Accounts Posts: 8,478 ✭✭✭GoneShootin


    but of course :)

    so now that i "know" how to open frames and make buttons do things, answer these questions three

    question the first

    how i force the frame window [minimise, mazimise, close etc] to open to maximise by default ?

    question the second

    how do i keep my buttons and other screen content centre of the copmuter screen, not center of the minimised frame. currently using Frame Layout, so i need to use GridLayout ?

    question the thrird

    how do i tell this really hot supervisor that.....

    lets leave that for After Hours ;)


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Sorry about the delay in replying, got made redundant 1 week before I resigned. Wahoo!

    Anyway, did you get it working?


  • Advertisement
  • Closed Accounts Posts: 8,478 ✭✭✭GoneShootin


    i did indeed, finally. its on the CIT web, dont think it has outside access

    so ill put it up at the wkend for all to see


Advertisement