Swing - Screen resolution made changes in the application

i have run my application with screen resolution of 1280x1024 pixels.Then i minimize the application and then change the screen resolution to 1024x768 pixels( properties--> settings--> screen resolution).

The vertical and horizonatal scoll bars are displayed in my application.

how to prevent the scroll bars while the application is running on 1024x768 pixels.?

[387 byte] By [dhandapanimsca] at [2007-11-26 23:20:49]
# 1
Try to set your scrollPane scroll bar policy.scrollPane.setVerticalScrollBarPolicy(VERTICAL_SCROLLBAR_NEVER)scrollPane.setHorizontalScrollBarPolicy(HORIZONTAL_SCROLLBAR_NEVER)
fourmousa at 2007-7-10 14:24:31 > top of Java-index,Desktop,Core GUI APIs...