ciao a tutti...
ho questo cod:
all'evento click di un JButton si ridimensiona la larghezza di questo panel.....come mai????codice:private JPanel getControlloPanel2() { if (headPanel2 == null) { headPanel2 = new JPanel(); totaleTimeLabel2 = new JLabel(); totaleTimeLabel2.setText("00:00"); playLabel2 = new JLabel(); playLabel2.setText("00:00"); //headPanel2.setBounds(new Rectangle(3, 2, 300, 20)); headPanel2.add(getProcessSlider2(), null); headPanel2.add(playLabel2, null); headPanel2.add(totalTimeLabel2, null); headPanel2.setBorder(BorderFactory.createEtchedBorder()); } return headPanel2; }

Rispondi quotando
