Skip to Main Content

Embedded Technologies

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

J2ME PP and Swing

843849Mar 1 2005 — edited Nov 10 2006
I'm currently porting some of the Swing classes to J2ME (or atleast trying to).

Have come across a problem with a method in java.awt.Component. The getPeer() method has been depreciated in J2SE and removed in J2ME, but it is used by some of the swing classes. While i realise that the J2ME awt implementation was not designed to run swing, i wondered if anone had any ideas on how to get around this.

From looking at the J2SE source for java.awt.component, the getPeer method (whcih returns a java.awt.peer.ComponentPeer) reveals some info about the state of the peer variable (of type ava.awt.peer.ComponentPeer).

Please Help, im totally lost.

regars, danny.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 8 2006
Added on Mar 1 2005
5 comments
109 views