Bug 27695 - AWT pulldown selector fail to work for applet
Summary: AWT pulldown selector fail to work for applet
Alias: None
Product: classpath
Classification: Unclassified
Component: awt (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Lillian Angel
Depends on:
Reported: 2006-05-21 08:09 UTC by pere
Modified: 2006-06-14 16:27 UTC (History)
1 user (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed: 2006-06-12 21:24:05

shows the bug. (299 bytes, text/plain)
2006-06-13 18:46 UTC, Lillian Angel

Note You need to log in before you can comment on or make changes to this bug.
Description pere 2006-05-21 08:09:20 UTC
When running the CVS version of classpath with jamvm and use
./tools/appletviewer http://www.btinternet.com/~se16/js/mapproj.htm to start the
applet, it starts as it should and seem to work, except for one issue.

The selectors to change projection and position do not work.  When I use
the first two, nothing changes, and when I try to set values into the
input fields (for example 180 as the last value) and press 'You choose', I get
an exception:

Exception during event dispatch:
   at MapProjections.newmap(MapProjections.java:285)
   at MapProjections.paint(MapProjections.java:106)
   at MapProjections.update(MapProjections.java:131)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.updateComponent(GtkComponentPeer.java:344)
   at gnu.java.awt.peer.gtk.GtkComponentPeer.handleEvent(GtkComponentPeer.java:292)
   at gnu.java.awt.peer.gtk.GtkPanelPeer.handleEvent(GtkPanelPeer.java:64)
   at java.awt.Component.dispatchEventImpl(Component.java:5068)
   at java.awt.Container.dispatchEventImpl(Container.java:1741)
   at java.awt.Component.dispatchEvent(Component.java:2322)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:474)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:95)

The applet work as it should with SUN JDK 1.5.
Comment 1 Lillian Angel 2006-06-12 21:24:05 UTC
The applet doesnt load for me. the window comes up, but none of the menus or buttons work. I will look into this.
Comment 2 Lillian Angel 2006-06-13 18:46:12 UTC
Created attachment 11662 [details]
shows the bug.
Comment 3 Lillian Angel 2006-06-13 18:46:26 UTC
I partially fixed this applet. I have not fixed the exception yet. Attached is a testcase.
Comment 4 Lillian Angel 2006-06-14 16:27:54 UTC
Fixed. Mauve test committed as well.