Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1172
| From | "rohitjain.is" <rohitjain.is@THRWHITE.remove-dii-this> |
|---|---|
| Subject | AWT Popupmenu and paint e |
| Message-ID | <1173889148.049795.229340@l77g2000hsb.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:31 +0000 |
| Organization | TDS.net |
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
Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread
AWT Popupmenu and paint e "rohitjain.is" <rohitjain.is@THRWHITE.remove-dii-this> - 2011-04-27 15:31 +0000
csiph-web