Revision 9914
trunk/libraries/libUI/src-test/org/gvsig/gui/beans/filterPanel/filterQueryPanel/TestFilterQueryJPanel.java | ||
---|---|---|
56 | 56 |
public static void main(String[] args) { |
57 | 57 |
JFrame frame = new JFrame(); |
58 | 58 |
|
59 |
frame.getContentPane().add(new FilterQueryJPanel()); |
|
59 |
FilterQueryJPanel fQ = new FilterQueryJPanel(); |
|
60 |
frame.setSize(fQ.getPreferredSize()); |
|
61 |
frame.getContentPane().add(fQ); |
|
60 | 62 |
frame.setTitle(Messages.getText("test_TableFilterQueryJPanel_title")); |
61 | 63 |
frame.pack(); |
62 | 64 |
frame.setVisible(true); |
trunk/libraries/libUI/src-test/org/gvsig/gui/beans/filterPanel/filterQueryPanel/Test2FilterQueryJPanel.java | ||
---|---|---|
57 | 57 |
filterQueryJPanel.resizeHeight(427); |
58 | 58 |
|
59 | 59 |
JFrame frame = new JFrame(); |
60 |
|
|
61 |
frame.getContentPane().add(filterQueryJPanel); |
|
60 |
|
|
61 |
FilterQueryJPanel fQ = new FilterQueryJPanel(); |
|
62 |
frame.setSize(fQ.getPreferredSize()); |
|
63 |
frame.getContentPane().add(fQ); |
|
62 | 64 |
frame.setTitle(Messages.getText("test_TableFilterQueryJPanel_title")); |
63 | 65 |
frame.pack(); |
64 | 66 |
frame.setVisible(true); |
trunk/libraries/libUI/src-test/org/gvsig/gui/beans/filterPanel/filterQueryPanel/Test3FilterQueryJPanel.java | ||
---|---|---|
57 | 57 |
filterQueryJPanel.resize(460, 450); |
58 | 58 |
|
59 | 59 |
JFrame frame = new JFrame(); |
60 |
|
|
61 |
frame.getContentPane().add(filterQueryJPanel); |
|
60 |
|
|
61 |
FilterQueryJPanel fQ = new FilterQueryJPanel(); |
|
62 |
frame.setSize(fQ.getPreferredSize()); |
|
63 |
frame.getContentPane().add(fQ); |
|
62 | 64 |
frame.setTitle(Messages.getText("test_TableFilterQueryJPanel_title")); |
63 | 65 |
frame.pack(); |
64 | 66 |
frame.setVisible(true); |
trunk/libraries/libUI/src-test/org/gvsig/gui/beans/filterPanel/tableFilterQueryPanel/TestTableFilterQueryJPanel.java | ||
---|---|---|
3 | 3 |
import javax.swing.JFrame; |
4 | 4 |
|
5 | 5 |
import org.gvsig.gui.beans.Messages; |
6 |
import org.gvsig.gui.beans.filterPanel.filterQueryPanel.FilterQueryJPanel; |
|
6 | 7 |
import org.gvsig.gui.beans.filterPanel.tableFilterQueryPanel.TableFilterQueryJPanel; |
7 | 8 |
|
8 | 9 |
|
... | ... | |
55 | 56 |
public class TestTableFilterQueryJPanel { |
56 | 57 |
public static void main(String[] args) { |
57 | 58 |
JFrame frame = new JFrame(); |
58 |
|
|
59 |
frame.getContentPane().add(new TableFilterQueryJPanel()); |
|
59 |
TableFilterQueryJPanel tFQ = new TableFilterQueryJPanel(); |
|
60 |
frame.setSize(tFQ.getPreferredSize()); |
|
61 |
frame.getContentPane().add(tFQ); |
|
62 |
|
|
60 | 63 |
frame.setTitle(Messages.getText("test_TableFilterQueryJPanel_title")); |
61 | 64 |
frame.pack(); |
62 | 65 |
frame.setVisible(true); |
trunk/libraries/libUI/src-test/org/gvsig/gui/beans/filterPanel/tableFilterQueryPanel/Test2TableFilterQueryJPanel.java | ||
---|---|---|
55 | 55 |
public class Test2TableFilterQueryJPanel { |
56 | 56 |
public static void main(String[] args) { |
57 | 57 |
JFrame frame = new JFrame(); |
58 |
|
|
59 | 58 |
TableFilterQueryJPanel tableFilterQueryJPanel = new TableFilterQueryJPanel(); |
60 | 59 |
tableFilterQueryJPanel.resize(460, 300); |
61 |
|
|
62 |
frame.getContentPane().add(tableFilterQueryJPanel); |
|
60 |
|
|
61 |
frame.setSize(tableFilterQueryJPanel.getPreferredSize()); |
|
62 |
frame.getContentPane().add(tableFilterQueryJPanel); |
|
63 |
|
|
63 | 64 |
frame.setTitle(Messages.getText("test_TableFilterQueryJPanel_title")); |
64 | 65 |
frame.pack(); |
65 | 66 |
frame.setVisible(true); |
Also available in: Unified diff