File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCM Java EE 6 Enterprise Architect Exam Guide
this week in the
Swing / AWT / SWT
how to draw graphics on jbutton?
Joined: Jan 06, 2001
Jan 06, 2001 02:16:00
since i'm working on snakes n ladders with the help of swings.so i want to know how to draw snakes & ladders over the jbuttons.
i think that glass pane can do,if so tell me how?
Joined: Dec 09, 2000
Jan 06, 2001 03:54:00
Why don't you try putting icons on these buttons. That ought to work.Use ImageIcons which takes in filenames(jpeg/gif). Set the border to empty for the
Hope that helps.
subject: how to draw graphics on jbutton?
browser-based game question
snakes and ladders game
Famous Java Applications
A Messy Diagram
trying to understand array
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014