aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes how to add custom swing component into IDE generated JFrame from swing pallete. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "how to add custom swing component into IDE generated JFrame from swing pallete." Watch "how to add custom swing component into IDE generated JFrame from swing pallete." New topic
Author

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

Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

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

Joined: May 03, 2008
Posts: 4642
    
    5

Did you code this Autosuggestion field yourself?


luck, db
There are no new questions, but there may be new answers.
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
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

Joined: Oct 27, 2005
Posts: 19722
    
  20

Not a Swing problem but a Netbeans problem. Moving to IDEs.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to add custom swing component into IDE generated JFrame from swing pallete.