Using JDialog with Tabbed Pane to draw different pictures [migrated]
- by Bryam Ulloa
I am using NetBeans, and I have a class that extends to JDialog, inside that Dialog box I have created a Tabbed Pane. The Tabbed Pane contains 6 different tabs, with 6 different panels of course. What I want to do is when I click on the different tabs, a diagram is supposed to be drawn with the paint method.
My question is how can I draw on the…