This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JWindow - windows L&F  RSS feed

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!