Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

screen size in jdialog  RSS feed

 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi,
i want to display the JDialog having equal size in both 1280x1024 and 1024x768 pixel environments.it can work well for 1280x1024 pixels, when i change the settings in Desktop-right click- go to settings tab - change the pixel size to 1024x768 and again run the application some components in the same JDiaolg was effected(it means some components in JDialog like jtable,jlabel and jbuttons cut-off at the bottom sides). i am using Toolkit.getDefaultToolkit().getScreenResolution() method in the code but it doesn't work.please help me its urgent.otherwise send me a sample application,i will also send the screen shot to this post.

thank you in advance
1024x768.GIF
[Thumbnail for 1024x768.GIF]
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Report post to moderator
you have ben advised in past (recent) posts what to do to (hopefully) get a solution.
if you're not prepared to follow that advice, then you're on your own - good luck.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Posts: 12143
255
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Report post to moderator
Nothing new added since previous post. Since this adds nothing, I have closed this topic.

Please read How To Ask Questions On JavaRanch, then go back to the original post to continue any discussion on this topic.

There are lots of people who are willing to help you - but you need to pay attention to what they are saying. Ignoring what they are asking you will not get you answers.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!