Hi, i've done this before but have spent the last 2 hours trying to find it again. What I am trying to do is display a string in any location (x,y). I am using a Swing applet.
To do this you need a panel or frame with no layout manager associated with it. Use setLayoutManager(null) to do this. Then you can just use setLocation(x,y) on each component to place them. "When you have eliminated the impossible, whatever remains, however
improbable, must be the truth." ~ Arthur Conan Doyle
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.