I have put a background image on the JFrame using setIcon
for label.
Also I have put Button
s on the JFrame
, I want a JScrollPane
,which can show Image.
Without showing background image, I am able to see the JScrollPane
but with it I cannot see the JScrollPane
.
Asked
Active
Viewed 80 times
0

Andrew Thompson
- 168,117
- 40
- 217
- 433
-
4Show some Code, what have you tried so far. Give a [MCVE](http://stackoverflow.com/help/mcve) that we can check. – Patrick Jun 26 '14 at 08:56
-
give a screenshot too – Oliver Watkins Jun 26 '14 at 08:57
-
@Patrick +1. One way to get image(s) for an example is to hot-link to the images seen in [this answer](http://stackoverflow.com/a/19209651/418556). – Andrew Thompson Jun 26 '14 at 09:07
-
Actually I'm doing my project in NetBeans. – user3778519 Jun 29 '14 at 04:07
-
So I just dragged a scrollPane and added the label to it. – user3778519 Jun 29 '14 at 04:08