| |

VerySource

 Forgot password?
 Register
Search
View: 656|Reply: 2

How to display both pictures and strings in JList

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-5 16:30:01
| Show all posts |Read mode
How to display both pictures and strings in JList, thank you
Reply

Use magic Report

0

Threads

23

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-5-24 14:00:01
| Show all posts
Any Object can be added to JList.
It can be constructed according to Vector. Put the picture you want, the button or something in the Vector.
Reply

Use magic Report

0

Threads

9

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-5-30 11:45:01
| Show all posts
JLabel or JButton can be implemented in JList
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list