root / trunk / extensions / extRemoteSensing / src-test / es / idr / teledeteccion / gridmath / gui / CalculatorDialogTest.java @ 12181
History | View | Annotate | Download (651 Bytes)
1 |
package es.idr.teledeteccion.gridmath.gui; |
---|---|
2 |
|
3 |
import javax.swing.JFrame; |
4 |
import javax.swing.UIManager; |
5 |
|
6 |
public class CalculatorDialogTest { |
7 |
|
8 |
/**
|
9 |
* @param args
|
10 |
*/
|
11 |
public static void main(String[] args) { |
12 |
|
13 |
try {
|
14 |
UIManager.setLookAndFeel("com.jgoodies.looks.plastic.PlasticXPLookAndFeel"); |
15 |
} catch (Exception e) { |
16 |
System.err.println("No se puede cambiar al LookAndFeel"); |
17 |
} |
18 |
|
19 |
JFrame frame = new JFrame(); |
20 |
CalculatorDialog dialog = new CalculatorDialog(null); |
21 |
frame.setSize(790,360); |
22 |
frame.getContentPane().add(dialog); |
23 |
frame.setVisible(true);
|
24 |
frame.setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); |
25 |
} |
26 |
} |