Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JtextBox on eclipse view works with jdk 1.5 but not with jdk 1.6
JtextBox on eclipse view works with jdk 1.5 but not with jdk 1.6 [message #331914] Mon, 29 September 2008 10:02 Go to next message
prasanna is currently offline prasannaFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,

In my plug-in, I have placed a java.awt.Frame on one of the views in
Eclipse.
And the frame has a panel which has a JTextBox.
This text box gets enabled and accepts text if jdk is set to 1.5 but not
if jdk is set to 1.6 on Windows.

Here is the code :
public void createPartControl(Composite parent) {
Composite newParent = new Composite(parent, SWT.EMBEDDED);
parent = newParent;
Frame frame;
frame = SWT_AWT.new_Frame(parent);
Frame propertiesFrame = ViewsUtil.getFrame(parent);
}

Any solutions are welcome.
Thanks.
Re: JtextBox on eclipse view works with jdk 1.5 but not with jdk 1.6 [message #331915 is a reply to message #331914] Mon, 29 September 2008 10:06 Go to previous message
Prasanna K is currently offline Prasanna KFriend
Messages: 78
Registered: July 2009
Member
Sorry. Wrong list.
Moved this question to eclipse.platform.swt.
http://www.eclipse.org/newsportal/article.php?id=42725&g roup=eclipse.platform.swt#42725
Previous Topic:Can't startup eclipse after update to 3.4.1
Next Topic:headless (feature) build obscurities
Goto Forum:
  


Current Time: Sat Nov 02 17:06:53 GMT 2024

Powered by FUDForum. Page generated in 0.03751 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top