[Fb-contrib-commit] SF.net SVN: fb-contrib:[1515] trunk/fb-contrib/samples/NIR_Sample.java
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-02-12 19:06:53
|
Revision: 1515
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1515&view=rev
Author: dbrosius
Date: 2010-02-12 19:06:45 +0000 (Fri, 12 Feb 2010)
Log Message:
-----------
add NIR fp
Modified Paths:
--------------
trunk/fb-contrib/samples/NIR_Sample.java
Modified: trunk/fb-contrib/samples/NIR_Sample.java
===================================================================
--- trunk/fb-contrib/samples/NIR_Sample.java 2010-02-07 16:55:10 UTC (rev 1514)
+++ trunk/fb-contrib/samples/NIR_Sample.java 2010-02-12 19:06:45 UTC (rev 1515)
@@ -1,4 +1,6 @@
+import javax.swing.JButton;
import javax.swing.JFrame;
+import javax.swing.JPanel;
@SuppressWarnings("all")
public class NIR_Sample extends JFrame
@@ -19,4 +21,14 @@
{
System.out.println(getColorModel().TRANSLUCENT);
}
+
+ public void fpStacked()
+ {
+ JButton ok = new JButton("ok");
+ JButton cancel = new JButton("cancel");
+ JPanel p = new JPanel();
+ //hmm this is reported sometimes
+ p.add(ok);
+ p.add(cancel);
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|