Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- MenuOperaciones Menu = new MenuOperaciones();
- contenedor = panel0;
- contenedor.removeAll();
- contenedor.setBackground(Color.red);
- Menu.setSize(panel0.getSize());
- Menu.setBounds(panel0.getBounds());
- contenedor.add(Menu);
- contenedor.repaint();
- contenedor.validate();
- }
Add Comment
Please, Sign In to add comment