Revision 44411 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.exportto/org.gvsig.exportto.swing/org.gvsig.exportto.swing.impl/src/main/java/org/gvsig/export/swing/impl/panels/SelectGeometryFieldPanelView.java
SelectGeometryFieldPanelView.java | ||
---|---|---|
7 | 7 |
import java.awt.ComponentOrientation; |
8 | 8 |
import java.awt.Container; |
9 | 9 |
import java.awt.Dimension; |
10 |
import java.awt.event.WindowAdapter; |
|
11 |
import java.awt.event.WindowEvent; |
|
10 | 12 |
import javax.swing.Box; |
11 | 13 |
import javax.swing.ButtonGroup; |
12 | 14 |
import javax.swing.ImageIcon; |
... | ... | |
33 | 35 |
{ |
34 | 36 |
initializePanel(); |
35 | 37 |
} |
38 |
public static void main(String[] args) |
|
39 |
{ |
|
40 |
JFrame frame = new JFrame(); |
|
41 |
frame.setSize(600, 400); |
|
42 |
frame.setLocation(100, 100); |
|
43 |
frame.getContentPane().add(new SelectGeometryFieldPanelView()); |
|
44 |
frame.setVisible(true); |
|
36 | 45 |
|
46 |
frame.addWindowListener( new WindowAdapter() |
|
47 |
{ |
|
48 |
public void windowClosing( WindowEvent evt ) |
|
49 |
{ |
|
50 |
System.exit(0); |
|
51 |
} |
|
52 |
}); |
|
53 |
} |
|
37 | 54 |
/** |
38 | 55 |
* Adds fill components to empty cells in the first row and first column of the grid. |
39 | 56 |
* This ensures that the grid spacing will be the same as shown in the designer. |
Also available in: Unified diff