[Polycasso-commit] SF.net SVN: polycasso:[93] trunk/polycasso/src/com/mebigfatguy/polycasso/ Settin
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2009-11-28 23:31:08
|
Revision: 93
http://polycasso.svn.sourceforge.net/polycasso/?rev=93&view=rev
Author: dbrosius
Date: 2009-11-28 23:31:01 +0000 (Sat, 28 Nov 2009)
Log Message:
-----------
set fields on ok
Modified Paths:
--------------
trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
Modified: trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java
===================================================================
--- trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2009-11-28 23:21:28 UTC (rev 92)
+++ trunk/polycasso/src/com/mebigfatguy/polycasso/SettingsDialog.java 2009-11-28 23:31:01 UTC (rev 93)
@@ -20,6 +20,7 @@
import java.awt.BorderLayout;
import java.awt.Container;
+import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
@@ -134,6 +135,9 @@
okButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent ae) {
+ dlgSettings.setMaxImageSize(new Dimension(Integer.parseInt(widthField.getText()), Integer.parseInt(heightField.getText())));
+ dlgSettings.setMaxPolygons(Integer.parseInt(maxPolygonField.getText()));
+ dlgSettings.setMaxPtMovement(Integer.parseInt(maxPtMoveField.getText()));
isOK = true;
dispose();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|