Normand Briere
2018-10-27 d34fd9341c61d13677e029cb187d4dacff5e44ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package timeflow.util;
 
import java.awt.*;
import javax.swing.*;
 
public class Pad extends JPanel {
   Dimension pref;
   
   public Pad(int w, int h)
   {
       pref=new Dimension(w,h);
       setBackground(Color.white);
   }
   
   public Dimension getPreferredSize()
   {
       return pref;
   }
}