Guest User

Untitled

a guest
Nov 14th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public class TestingPanel {
  2. private JButton button1;
  3. public JPanel panel1;
  4. private JButton button2;
  5. private JButton button3;
  6. }
  7.  
  8. JPanel testingPanel = new TestingPanel().panel1;
  9.  
  10. public class TestingPanel extends JPanel {
  11. private JButton button1;
  12. private JButton button2;
  13. private JButton button3;
  14.  
  15. public void onCreate() {
  16. //change name, add listeners etc.
  17. }
  18.  
  19. }
Add Comment
Please, Sign In to add comment