Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1172 > unrolled thread

AWT Popupmenu and paint e

Started by"rohitjain.is" <rohitjain.is@THRWHITE.remove-dii-this>
First post2011-04-27 15:31 +0000
Last post2011-04-27 15:31 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.gui


Contents

  AWT Popupmenu and paint e "rohitjain.is" <rohitjain.is@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000

#1172 — AWT Popupmenu and paint e

From"rohitjain.is" <rohitjain.is@THRWHITE.remove-dii-this>
Date2011-04-27 15:31 +0000
SubjectAWT Popupmenu and paint e
Message-ID<1173889148.049795.229340@l77g2000hsb.googlegroups.com>
  To: comp.lang.java.gui
I am maintaining a legacy application build in AWT. The application is
remote control application and shows the remote desktop. The desktop
is drawn on the canvas i.e. java.awt.Panel. On the remove desktop (XP)
I opened the screen saver dialog box and selected the Bezier Curve
screen saver. In the dialog box it shows the preview. Everything is
fine till this point as I see the curve moving.

My Panel/Canvas has a AWT Popupmenu, when I right click on canvas to
show the popupmenu, I am not getting the paint event. Due to this the
video freezes.

I tried invoking the show in another thread, making frame as the
parent and not the canvas but nothing works.

Has anyone else faced this problem and is there a solution to it?

Rohit

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web