Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

background?

 
ali rafiq
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how could i make a transparent background .. and frame mostly drag from title bar but how to drag from the background ???
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...)
 
ali rafiq
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic