Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Application skinning

Reply
Thread Tools

Application skinning

 
 
PERCIVAL BRAGG
Guest
Posts: n/a
 
      07-08-2003
I am interested in learning the techniques involved in writing an
application that can make use of different skins a la windows media player.
Any help in this persuit would be appreciated.


 
Reply With Quote
 
 
 
 
Miguel De Anda
Guest
Posts: n/a
 
      07-08-2003

"PERCIVAL BRAGG" <> wrote in message
news:10pOa.34666$...
> I am interested in learning the techniques involved in writing an
> application that can make use of different skins a la windows media

player.
> Any help in this persuit would be appreciated.
>
>


You probably wanna try comp.lang.java.gui for stuff like this. But check out
L&F for java. (http://www.google.com/search?q=java+look+and+feel)

As for making something where you specify the shape of the window, I'm not
sure if you can do that.


 
Reply With Quote
 
 
 
 
Miguel De Anda
Guest
Posts: n/a
 
      07-08-2003

"Harald Hein" <> wrote in message
news:Xns93B2CB9488A06hhtoken@194.97.5.8...
> "Miguel De Anda" wrote:
>
> > As for making something where you specify the shape of the window,
> > I'm not sure if you can do that.

>
> No, you can't. There is a hack, but that one is just nonsens:
>
> Use the Robot class to get a snapshot of the area behind the window.
> Use that snapshot as the window's background. At first glance this
> looks like a transparent window, on which you can paint non-regular
> shapes. But, as soon as you move the window, or if the screen behind
> the window is not static, it just looks ugly.
>
> HH


Most programs that I've seen with irregular shaped windows are annoying and
hard to use anyways. I won't miss it.


 
Reply With Quote
 
dhek bhun kho
Guest
Posts: n/a
 
      07-09-2003
"Miguel De Anda" <>, Tue, 08 Jul 2003 20:50:47 +0000:

>
> "Harald Hein" <> wrote in message
> news:Xns93B2CB9488A06hhtoken@194.97.5.8...
>> "Miguel De Anda" wrote:
>>
>> > As for making something where you specify the shape of the window,
>> > I'm not sure if you can do that.

>>
>> No, you can't. There is a hack, but that one is just nonsense:
>>
>> Use the Robot class to get a snapshot of the area behind the window.
>> Use that snapshot as the window's background. At first glance this
>> looks like a transparent window, on which you can paint non-regular
>> shapes. But, as soon as you move the window, or if the screen behind
>> the window is not static, it just looks ugly.
>>
>> HH

>
> Most programs that I've seen with irregular shaped windows are annoying and
> hard to use anyways. I won't miss it.


I won't miss it either (unless somebody finally gets to make a usable 3D
window manager, don't see that happen very soon. Just imagine the
productivity increase by being able to walk around in an Urban Terror(Tm)
L&F environment looking for your favorite IDE when you get a hit by an
incoming usenet posting and a barrage of pop-ups; it would give me sea
sickness).

But the people from www.l2fprod.com were offering skinned regions too. I
have never tried it out though.

Greets Bhun.


 
Reply With Quote
 
Eugene Toporov
Guest
Posts: n/a
 
      07-09-2003
"PERCIVAL BRAGG" <> wrote in message
> I am interested in learning the techniques involved in writing an
> application that can make use of different skins a la windows media player.
> Any help in this persuit would be appreciated.


You can do lots but you will need the JNI.

Check the WinPack for JNIWrapper (http://www.jniwrapper.com/winpack.jsp).
It allows creating windows of any shape plus other window decorations.

Here is the example: http://www.jniwrapper.com/images/winpack/cust_shape.gif

Good luck!
EToporov
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
skinning ReportViewer control user@domain.invalid ASP .Net 1 02-10-2011 03:04 PM
Skinning scalability John Smith ASP .Net 0 11-23-2006 03:50 AM
Skinning CommandField JJ ASP .Net 2 11-22-2006 08:09 PM
Skinning Again: Which is best, jXUL, XUL, or what? Thomas G. Marshall Java 15 02-17-2004 03:32 PM
Skinning a site using Dreamweaver ©® HTML 3 01-03-2004 07:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57