From 6fd1d5c225c70677ef40ec7d76111b849e5d7d75 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 21 May 2008 21:24:42 +0000 Subject: JTable editor done?!? :) --- sources/simulator/VSSimulation.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sources/simulator/VSSimulation.java') diff --git a/sources/simulator/VSSimulation.java b/sources/simulator/VSSimulation.java index 9c9bf81..d2cc070 100644 --- a/sources/simulator/VSSimulation.java +++ b/sources/simulator/VSSimulation.java @@ -854,15 +854,15 @@ public class VSSimulation extends JPanel { public void updateFromPrefs() { splitPaneH.setDividerLocation( - prefs.getInteger("window.splitsize")); + prefs.getInteger("div.window.splitsize")); splitPaneV.setDividerLocation( - prefs.getInteger("window.ysize") - - prefs.getInteger("window.loggsize")); + prefs.getInteger("div.window.ysize") + - prefs.getInteger("div.window.loggsize")); splitPane1.setDividerLocation((int) (getPaintSize()/2) - 20); - simulationCanvas.setBackground(prefs.getColor("paintarea.background")); + simulationCanvas.setBackground(prefs.getColor("col.background")); simulationCanvas.updateFromPrefs(); } } -- cgit v1.2.3