| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 
 | PropertyGridPanel propertyGrid = new PropertyGridPanel();   
propertyGrid.setTitle("Property Grid");   
 
Map source = new HashMap();   
source.put("(name)", "Properties Grid");   
source.put("grouping", Boolean.FALSE);   
source.put("autoFitColumns", Boolean.TRUE);   
source.put("productionQuality", Boolean.FALSE);   
source.put("created", new Date());   
source.put("tested", Boolean.FALSE);   
source.put("version", new Float(0.1f));   
source.put("borderWidth", new Integer(1));   
propertyGrid.setSource(source);   
tabPanel.add(propertyGrid);   
eastPanel.add(tabPanel); | 
Partager