Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1433
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Drawing icons on a sc |
| Message-ID | <708591c5cd6d4@uwe> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <WBWSh.1453$2v1.297@newssvr14.news.prodigy.net> |
| Date | 2011-04-27 15:33 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui Thomas Ruschak wrote: > I have a friend who is doing a simple Java Swing project. . > He's got a JScrollPane with an image in it. He wants to be able to put >an icon on the JScrollPane in response to user input. .. Tell 'your friend' that one easy way to achieve this in Java is to put a JPanel with an appropriate layout in the JScrollPane, then add JLabels (containing the images) into the JSP as needed. A call to 'validate()' should have everything appear correctly. -- Andrew Thompson http://www.athompson.info/andrew/ Message posted via JavaKB.com http://www.javakb.com/Uwe/Forums.aspx/java-gui/200704/1 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar | Unroll thread
Drawing icons on a scroll "Thomas Ruschak" <thomas.ruschak@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000 Re: Drawing icons on a sc "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
csiph-web