Revision 342 2.0/trunk/org.gvsig.gvsig3d.app/org.gvsig.gvsig3d.app.extension/src/main/java/org/gvsig/gvsig3d/app/gui/styling/Object3DSymbolTab.java

View differences:

Object3DSymbolTab.java
52 52
		setLayout(new BorderLayout(0, 0));
53 53

  
54 54
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
55
		tabbedPane.setPreferredSize(new Dimension(180,300));
55
		tabbedPane.setPreferredSize(new Dimension(180, 300));
56 56
		add(tabbedPane, BorderLayout.CENTER);
57 57

  
58 58
		JPanel panel = new JPanel();
59
		tabbedPane.addTab("Properties", null, panel, null);
59
		tabbedPane.addTab("Node Marker", null, panel, null);
60 60
		GridBagLayout gbl_panel = new GridBagLayout();
61 61
		gbl_panel.columnWidths = new int[] { 175 };
62 62
		gbl_panel.rowHeights = new int[] { 180, 70 };
......
150 150
		sizeSpinner = new JSpinner();
151 151
		sizeSpinner.setModel(new SpinnerNumberModel(1.0, 1.0, 1000.0, 1.0));
152 152
		panel_3.add(sizeSpinner);
153
		
154
		propertiesPanel.setPreferredSize(new Dimension(80,80));
155 153

  
154
		propertiesPanel.setPreferredSize(new Dimension(80, 80));
155

  
156 156
		JPanel panel_4 = new JPanel();
157 157
		tabbedPane.addTab("Collection", null, panel_4, null);
158 158
		GridBagLayout gbl_panel_4 = new GridBagLayout();
......
264 264
	public void updatePanel(I3DSymbol symbol) {
265 265
		// TODO Auto-generated method stub
266 266
		_nodeURL = ((NodeMarker3DSymbol) symbol).getNodeFileURL();
267
		System.out.println("Setting text" + _nodeURL);
268 267
		textField.setText(_nodeURL);
269
		sizeSpinner.setValue(_symbol.getSize());
268
		sizeSpinner.setValue(((NodeMarker3DSymbol) symbol).getSize());
270 269
		loadFile();
271 270
	}
272 271

  

Also available in: Unified diff