The Artima Developer Community
Sponsored Link

Java Answers Forum
custom frames

2 replies on 1 page. Most recent reply: Jan 14, 2004 7:06 AM by shon

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
shon

Posts: 42
Nickname: shon
Registered: Apr, 2003

custom frames Posted: Jan 13, 2004 8:20 AM
Reply to this message Reply
Advertisement
Hi,

is there a way to make custom-shaped frames in Swing ? I mean a round frame or a frame that has an ellipse form, ... instead of a rectangular frame ?

If it's possible, which class does provide this functionality ?

Thanks in advance !


mausam

Posts: 243
Nickname: mausam
Registered: Sep, 2003

Re: custom frames Posted: Jan 14, 2004 5:05 AM
Reply to this message Reply
I m really not sure if u can do it..

But as far as Button (round) is concerned...this can be of some help
http://java.sun.com/developer/TechTips/1999/tt0826.html

shon

Posts: 42
Nickname: shon
Registered: Apr, 2003

Re: custom frames Posted: Jan 14, 2004 7:06 AM
Reply to this message Reply
It seems like only can make button to be round .. but i have no idea to make trhe frame round .I am stuck here who can help me ?

Flat View: This topic has 2 replies on 1 page
Topic: package java.swing does not exist Previous Topic   Next Topic Topic: need help please with the errors of my simple drawing package

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use