summaryrefslogtreecommitdiff
path: root/src/tesseract/objects/remote/RemoteObjectMenu.java
diff options
context:
space:
mode:
authorSteve <steveb9@u.washington.edu>2011-03-17 05:22:42 +0000
committerSteve <steveb9@u.washington.edu>2011-03-17 05:22:42 +0000
commit191bccc3d1dfb7ca728df47ae75cfb12fcaee183 (patch)
treef697c7a9f89431c697b68d27fe46dbd357bf7cb2 /src/tesseract/objects/remote/RemoteObjectMenu.java
parent825a414d92af1be3c84b61ac59e1d1291b795220 (diff)
added Jopup fix for menu in remote menu
added controls to blimp removed blimp creating from ui changeed Blimpbox to get the primitive for orientation based on phil's design
Diffstat (limited to 'src/tesseract/objects/remote/RemoteObjectMenu.java')
-rw-r--r--src/tesseract/objects/remote/RemoteObjectMenu.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tesseract/objects/remote/RemoteObjectMenu.java b/src/tesseract/objects/remote/RemoteObjectMenu.java
index 3d4435e..bb076d1 100644
--- a/src/tesseract/objects/remote/RemoteObjectMenu.java
+++ b/src/tesseract/objects/remote/RemoteObjectMenu.java
@@ -7,6 +7,7 @@ import java.util.ArrayList;
import javax.swing.JCheckBoxMenuItem;
import javax.swing.JMenu;
+import javax.swing.JPopupMenu;
import tesseract.World;
@@ -22,12 +23,14 @@ public class RemoteObjectMenu extends JMenu {
public RemoteObjectMenu(final World theWorld) {
super("RC Objects");
-
+ // Added by Steve: Fixes viewing menu problem with Canvas3D on both my windows machines
+ JPopupMenu.setDefaultLightWeightPopupEnabled(false);
myWorld = theWorld;
myControlledObjects = new ArrayList<RemoteObject>();
// Objects that can be added
add(new TankMenuItem(this));
+ add(new BlimpMenuItem(this));
// Separator
addSeparator();