1:
8:
9: package ;
10:
11: import ;
12:
13:
19: public class WMSizeHints implements Cloneable
20: {
21: public WMSizeHints()
22: {
23: init(null);
24: }
25:
26: private native void init(WMSizeHints copyFrom);
27: protected native void finalize();
28:
29: public Object clone() {
30: try
31: {
32: WMSizeHints hints = (WMSizeHints) super.clone();
33:
34: hints.structure = null;
35:
36: hints.init(this);
37: return hints;
38: }
39: catch (CloneNotSupportedException ex)
40: {
41:
42: throw new InternalError ();
43: }
44: }
45:
46: public native void applyNormalHints(Window window);
47:
48: public native void setMinSize(int width, int height);
49: public native void setMaxSize(int width, int height);
50:
51: RawData structure;
52: }