Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphical Components ??

Status
Not open for further replies.

DannyB

Programmer
Mar 19, 2000
99
PT
I need to be able to put some graphical components on a frame (or panel) that can be placed by the user. Can I use a graphic image that is not square and that can have event listeners (so they can be moved around). Any ideas would be most welcome.
Daniel.Barreto@Netc.pt
 
I am not sure what you are trying to do, but you can draw many different shapes with the Graphic and Graphic2D API. There are plenty of event listeners also available for mouse usage. Check out the MouseListener and MouseMotionListener classes. They me be a starting place for you.

Good luck,
Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top