File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What is this component and how to create one.

 
Pratham Jain
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am very new to java swing and am trying to understand the components.

1. It looks like a Combo-box.
2. Text field is not editable
3. Initially looks like the one in attached image 1a
4. One pointing the mouse on the down arrow on the component, it looks like 1b
5. On clicking the down arrow, open up a new frame

Need your help to understand what is this object and how to create it.
1a.jpg
First
[Thumbnail for 1a.jpg]
1b.jpg
Second
[Thumbnail for 1b.jpg]
1c.jpg
Third
[Thumbnail for 1c.jpg]
 
Ramesh Pramuditha Rathnayake
Ranch Hand
Posts: 178
2
Java MySQL Database Netbeans IDE
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It might be new component created by implementing JComboBox.

If we click on the arrow in JComboBox, a Popup Menu will show. Inside the popup menu there is a JList. You have to change that JList to a JPanel to make a such component.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic