Results 1 to 4 of 4
- 11-25-2008, 04:32 PM #1
Member
- Join Date
- Oct 2008
- Posts
- 8
- Rep Power
- 0
SWT_AWT bridge ,jtextfield edit problem
Hi All,
I am using SWT_AWT bridge in my code to embed swing components in to SWT Composite.
I am using SWT_AWT bridge frame and adding JTextfield to it, My problem is that the JTextfield which i have added is not allowing me to enter any values in it.Please help.
Sample code
Composite composite=new Composite(shell,SWT.EMBEDDED);
java.awt.Frame frame = SWT_AWT.new_Frame(composite);
JApplet applet=new JApplet();
JTextField textfield=new JTextField();
applet.add(textfield);
frame.add(applet);
Thanks in advance.
- 12-05-2008, 06:58 PM #2
Member
- Join Date
- Dec 2008
- Posts
- 2
- Rep Power
- 0
Any news ?
Hi, I have the same problem and wanted to know if you sold it... and how...
Thank you for your answer.
- 12-08-2008, 06:22 AM #3
Member
- Join Date
- Oct 2008
- Posts
- 8
- Rep Power
- 0
Dont use the frame to directly add the jtextfields, insted u can add JApplet to the frame , and add Jtextfield to the JApplet.
This should solve the problem
- 12-09-2008, 12:40 PM #4
Member
- Join Date
- Dec 2008
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Edit Command
By viji83 in forum New To JavaReplies: 1Last Post: 08-15-2008, 03:26 AM -
Conference Bridge 0.1
By Java Tip in forum Java SoftwareReplies: 0Last Post: 06-26-2008, 06:19 PM -
SWT & Swing Bridge problem
By roshithmca in forum AWT / SwingReplies: 0Last Post: 03-26-2008, 01:23 PM -
Can't edit JTextField after modal dialog
By JavaNerd in forum Java AppletsReplies: 0Last Post: 02-07-2008, 09:11 PM -
Using JDBC-ODBC bridge
By Java Tip in forum Java TipReplies: 0Last Post: 02-06-2008, 09:21 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks