• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

background?

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ???
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??
 
reply
    Bookmark Topic Watch Topic
  • New Topic