File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes background? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "background?" Watch "background?" New topic
Author

background?

ali rafiq
Ranch Hand

Joined: Jan 09, 2003
Posts: 75
how could i make a transparent background .. and frame mostly drag from title bar but how to drag from the background ???


if u learn to break the rock .. next day u will be looking to Mountain.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

You can't make a real transparent background just in Swing... you have to constantly take screenshots using the Robot class. Unfortunately, there is no way for the window to keep up with the background if you are going to drag it across the desktop...

As far as dragging without a titlebar, you'll have to add a mouselistener and convert points on the component to screen points using SwingUtilities.

SkinLF supports non-rectangular windows with transparent areas. (But only on Windows...)


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
ali rafiq
Ranch Hand

Joined: Jan 09, 2003
Posts: 75
i have use skinlf but it is giving lot of exception and of native class and also have a exception its examples do u get any error on its or may be its on my OS! i have win98 ..is there any other way ..
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

The examples work on my computer at work (Win2000), but I will try it on my computer at home(Win 98) and see if I can figure anything out...
ali rafiq
Ranch Hand

Joined: Jan 09, 2003
Posts: 75
ok
so that is the editor
this editor
is that editor or tool ..i have download the 1.05 mb file is that this editor ..
if it is that then how could it run.. or where should i find this tool??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: background?