Make a jOptionPane visible and invisible when you click a button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mars92
    New Member
    • Mar 2010
    • 1

    Make a jOptionPane visible and invisible when you click a button

    Hi all,

    I am doing an project for school in IT and I have a GUI that works but I want to add a seperate pane that will become visible and invisible when I click a button.

    In detail, I am making a program for my friend who owns a IT business, the program shows a table of his products and when someone clicks the 'ADD' button I want a pane to pop up next to the button with the fields that the operator must fill in to add a product to the table.

    I am going to use this method for more than just the 'ADD' button so please keep it quite general so i can modify it for the other buttons.

    Thank You
Working...