Normand Briere
2018-07-07 e416acb9b012b17d1efe49ad2199ea7132d874d1
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;
   }
}