Normand Briere
2019-05-05 623dc0fa8cbd9473830a1786f6d49fa808a09439
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;
   }
}