https://i.stack.imgur.com/YhSE3.png
after i set "toolbar.setVisible(false)" to false , jtoolbar is hidden, but jframe is still on screen ? how can i dispose that temporary frame ?
https://i.stack.imgur.com/YhSE3.png
after i set "toolbar.setVisible(false)" to false , jtoolbar is hidden, but jframe is still on screen ? how can i dispose that temporary frame ?
I close JFrames with JFrameName.setVisible(false)
it will hid it but if you want to use the same window again you will have to reset the window when you make it visable again.