• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add custom swing component into IDE generated JFrame from swing pallete.

 
Piyush Patel
Ranch Hand
Posts: 127
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
'm facing one problem i have one Autosuggestion Field that extends JTextField.
I have designed one JFrame using NetBeans IDE's drag and drop. there are JLables and Othere Swing components in JFrame added by drag-drop from IDE's Swing pallete.
the problem is i want to add Autosuggestion in JFrame , how can i do this, as i dont have this Swing widget in pallete for drag and drop?

once i tried to put Autosuggestion in JFrame by handcoding but it disturbs other components on frame. entrire GUI is disturbed.
please help

Thanks in advance 4 your reply.

 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you code this Autosuggestion field yourself?
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Google helped me in this and can help you too. Terms to look up include NetBeans, Component Palette, palette manager, custom component.

Some decent hits include:
FaqFormUsingCustomComponent
Custom Components
 
Rob Spoor
Sheriff
Pie
Posts: 20514
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not a Swing problem but a Netbeans problem. Moving to IDEs.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic