🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12204

URGENT!! Exception with JPopup

#12204
From: Timothy Mulle'
Date: Fri, 12 Feb 1999 00:00
45 lines
2579 bytes
I get the following exception when trying popup a Jpopup menu on the right
mouse button on NT Workstation 4.0

Exception occurred during event dispatching:
java.lang.Error: Do not use cos.ui.FrameOrderTracking.add() use
cos.ui.FrameOrderTracking.getContentPane().add() instead
 at com.sun.java.swing.JFrame.createRootPaneException(Compiled Code)
 at com.sun.java.swing.JFrame.addImpl(Compiled Code)
 at java.awt.Container.add(Compiled Code)
 at com.sun.java.swing.JPopupMenu$PanelPopup.show(Compiled Code)
 at com.sun.java.swing.JPopupMenu.setVisible(Compiled Code)
 at com.sun.java.swing.JPopupMenu.show(Compiled Code)
 at
cos.ui.beans.GenericMembershipPanel.grdMember_mouseReleased(GenericMembershi
pPanel.java:458)
 at
cos.ui.beans.GenericMembershipPanel$1.mouseReleased(GenericMembershipPanel.j
ava:161)
 at java.awt.AWTEventMulticaster.mouseReleased(Compiled Code)
 at java.awt.Component.processMouseEvent(Compiled Code)
 at borland.jbcl.view.BeanPanel.processMouseEvent(Compiled Code)
 at java.awt.Component.processEvent(Compiled Code)
 at java.awt.Container.processEvent(Compiled Code)
 at borland.jbcl.view.BeanPanel.processEvent(Compiled Code)
 at java.awt.Component.dispatchEventImpl(Compiled Code)
 at java.awt.Container.dispatchEventImpl(Compiled Code)
 at java.awt.Component.dispatchEvent(Compiled Code)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code)
 at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code)
 at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
 at java.awt.Container.dispatchEventImpl(Compiled Code)
 at java.awt.Window.dispatchEventImpl(Compiled Code)
 at java.awt.Component.dispatchEvent(Compiled Code)
 at java.awt.EventDispatchThread.run(Compiled Code)

I am adding all the items with getContentPane() in my code. It appears that
something in JPopup is going wrong..

I am using JB 2.01...no swing patch installed.

I am on a tight timeline, so an answer is greatly needed..


Thanks,
Tim
Technical Details
Message-ID: <7a19a7$p0l2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,ea0134e9d1f938c7,start
X-Google-Attributes: gid111d45,public
X-Google-Thread: f5619,ea0134e9d1f938c7,start
X-Google-Attributes: gidf5619,public
From: "Timothy Mulle'" <tmulle@fcg.com>
Subject: URGENT!! Exception with JPopup
Date: 1999/02/12
Message-ID: <7a19a7$p0l2@forums.borland.com>
X-Deja-AN: 443604761
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.jbcl