a guest Jul 17th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Override
  2.         public void actionPerformed(ActionEvent arg0) {
  3.             // TODO Auto-generated method stub
  4.             JDialog p= new JDialog();
  5.             p.setSize(new Dimension(200,200));
  6.             p.setBackground(;
  7.             ComponentMover cm = new ComponentMover();
  8.             cm.registerComponent(p);
  9.             threeDPanel.add(p);
  10.         }
  11.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand