how to restrict the size of the window in swt
Hi
using the below code i am able to set the size of the window but i am able to increase and decrease the size of the window using the mouse
is it possible to restrict the size so that it can not be decrease after some limit.
public class SWTApp {
public SWTApp(Display display) {
Shell shell = new Shell(display);
shell.setText("Center");
shell.setSize(250, 200);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch()) {
display.sleep();
}
}
}
public static void main(String[] args) {
Display display = new Display();
new SWTApp(display);
display.dispose();
}
}
thanks in advance