java - Switch from panel into tabbedPane -
i have tabbedpane contain 2 jpanel.
tabbedpane = new jtabbedpane(); tabbedpane.addtab("main", null, mainpanel, "does nothing"); tabbedpane.setmnemonicat(0, keyevent.vk_1); tabbedpane.addtab("report", null, reportpanel, "still nothing");
i'm in first panel , after operation pass second pannel (main -> report).
how can it?
Comments
Post a Comment