开发者

Adding text and image in JList in netbeans

I have created a GUI in JApplet Form in ne开发者_StackOverflow中文版tbeans which also contains a JList. i just want to know how to add a text and an image before text. i know how to add a text by creating an array and pass it to the constructor of the JList but that was in simple JPanel but in JApplet Form code is disabled (non-editable).I am stuck into it.In Short i want to add my own items in JList in JApplet Form in netbeans. is there any good tutorial or some help. Need an Urgent Help. Thanks.


See Writing a Custom Cell Renderer and the example cited.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜