• Post Reply Bookmark Topic Watch Topic
  • New Topic

JWindow - windows L&F

 
Martin Thorpe
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I have created a JWindow containing a JProgressBar. This is fine as I don't want the min/max/close buttons. But what I want to acheive is to make the win and bar the same as the windows L&F.

I have tried






Intending then to overwirte the L&F:


But looking at the API these are not possible, also reported by my IDE:
the method setDefaultLookAndFeelDecorated(true) is undefined for type J....

So is there a way I can play with the JWindow display to the user???

Thanks for taking the time to read.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!