Can Anyone Help ME?

Hi guys... I am developing a chat application... a real time chat application... Now I need to insert a JFrame to display the list of smileys(emoticons) available so the user can click on the icon....

well.... I need help to achieve this task... Can anyone help me? What I need is to display a list of smileys to add...

[332 byte] By [asiridola] at [2007-11-26 15:50:25]
# 1
do you mean you need code to make it display or code to make it into a button?
gmt2001a at 2007-7-8 22:10:10 > top of Java-index,Desktop,Core GUI APIs...
# 2
Read the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/list.html]How to Use Lists[/url]. You can add ImageIcons to the list instead of text and your icons will be painted.
camickra at 2007-7-8 22:10:10 > top of Java-index,Desktop,Core GUI APIs...
# 3

* Create your JFrame.

* Add a layout, in your case something like gridlayout

Look here: http://java.sun.com/docs/books/tutorial/uiswing/layout/grid.html

* Create your JButtons

* Set images (smileys) for each of your buttons

* Add actionlisteners to your buttons

Look here: http://java.sun.com/docs/books/tutorial/uiswing/events/actionlistener.html

* Add your buttons to your layout

jvagurua at 2007-7-8 22:10:10 > top of Java-index,Desktop,Core GUI APIs...
# 4
Actually, as mentioned, use JList, it'll be easier to catch item clicks.
jvagurua at 2007-7-8 22:10:10 > top of Java-index,Desktop,Core GUI APIs...
# 5
Thnx buddies for your support... What I wanted is to display a list of available smileys... I didn't try the JList component... If it allows me to add ImageIcon then it solved... :) I'll try that.... thnx again....
asiridola at 2007-7-8 22:10:10 > top of Java-index,Desktop,Core GUI APIs...