Changeset 24737 in osm
- Timestamp:
- 2010-12-13T16:39:42+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src
- Files:
-
- 2 added
- 22 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/images/AmberButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 11.313708"2898 inkscape:cx=" -4.239711"2897 inkscape:zoom="22.627416" 2898 inkscape:cx="34.651164" 2899 2899 inkscape:cy="14.585448" 2900 2900 inkscape:document-units="px" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#ffbf00;fill-opacity:1;stroke:#000000;stroke-width:0. 96017593000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#ffbf00;fill-opacity:1;stroke:#000000;stroke-width:0.74682963;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect5912" 2939 width=" 49.039825"2940 height="15. 039824"2941 x="0. 48008797"2942 y="1036. 8422"2943 rx=" 4.9039822"2944 ry=" 4.699945" />2939 width="29.25317" 2940 height="15.25317" 2941 x="0.37341481" 2942 y="1036.7355" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 14.495688"2949 y="1048. 5615"2948 x="4.5519986" 2949 y="1048.6941" 2950 2950 id="text8133" 2951 2951 sodipodi:linespacing="125%"><tspan 2952 2952 sodipodi:role="line" 2953 2953 id="tspan8135" 2954 x=" 14.495688"2955 y="1048. 5615">Am</tspan></text>2954 x="4.5519986" 2955 y="1048.6941">Am</tspan></text> 2956 2956 </g> 2957 2957 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/BlackButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 11.313708"2897 inkscape:zoom="22.627416" 2898 2898 inkscape:cx="25.896642" 2899 2899 inkscape:cy="15.827314" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0. 93155312999999995;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.72447377;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect6844" 2939 width=" 49.068447"2940 height="15. 068447"2941 x="0. 46577656"2942 y="1036. 8279"2943 rx=" 4.8357673"2944 ry=" 4.4863157" />2939 width="29.275526" 2940 height="15.275527" 2941 x="0.36223689" 2942 y="1036.7244" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 20.417709"2949 y="1048. 7383"2948 x="10.297243" 2949 y="1048.6941" 2950 2950 id="text9524" 2951 2951 sodipodi:linespacing="125%"><tspan 2952 2952 sodipodi:role="line" 2953 2953 id="tspan9526" 2954 x=" 20.417709"2955 y="1048. 7383">B</tspan></text>2954 x="10.297243" 2955 y="1048.6941">B</tspan></text> 2956 2956 </g> 2957 2957 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/BlueButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 14.49"2897 inkscape:zoom="20.491955" 2898 2898 inkscape:cx="25" 2899 inkscape:cy=" 16.53442"2899 inkscape:cy="-1.0334503" 2900 2900 inkscape:document-units="px" 2901 2901 inkscape:current-layer="layer1" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#0000ff;fill-opacity:1;stroke:#000000;stroke-width:0. 93325316999999997;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#0000ff;fill-opacity:1;stroke:#000000;stroke-width:0.72580141;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect7776" 2939 width=" 49.06675"2940 height="15. 066747"2941 x="0. 46662658"2942 y="1036. 8289"2943 rx=" 4.7773395"2944 ry=" 4.557775" />2939 width="29.274199" 2940 height="15.274198" 2941 x="0.3629007" 2942 y="1036.7252" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 16.036686"2949 y="1048. 5793"2948 x="6.1303592" 2949 y="1048.6282" 2950 2950 id="text10915" 2951 2951 sodipodi:linespacing="125%"><tspan 2952 2952 sodipodi:role="line" 2953 2953 id="tspan10917" 2954 x=" 16.036686"2955 y="1048. 5793">Bu</tspan></text>2954 x="6.1303592" 2955 y="1048.6282">Bu</tspan></text> 2956 2956 </g> 2957 2957 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/GreenButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 11.313708"2897 inkscape:zoom="22.627416" 2898 2898 inkscape:cx="29.432176" 2899 2899 inkscape:cy="14.943429" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#00ff00;fill-opacity:1;stroke:#000000;stroke-width:0. 96934467999999996;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#00ff00;fill-opacity:1;stroke:#000000;stroke-width:0.75399208;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect8708" 2939 width=" 49.030655"2940 height="15. 030655"2941 x="0. 48467234"2942 y="1036. 8468"2943 rx=" 4.9177175"2944 ry=" 4.7767539" />2939 width="29.246008" 2940 height="15.246007" 2941 x="0.37699604" 2942 y="1036.7391" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 20.152544"2949 y="1048. 6499"2948 x="10.208854" 2949 y="1048.7825" 2950 2950 id="text12306" 2951 2951 sodipodi:linespacing="125%"><tspan 2952 2952 sodipodi:role="line" 2953 2953 id="tspan12308" 2954 x=" 20.152544"2955 y="1048. 6499">G</tspan></text>2954 x="10.208854" 2955 y="1048.7825">G</tspan></text> 2956 2956 </g> 2957 2957 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/OrangeButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 11.313708"2897 inkscape:zoom="22.627416" 2898 2898 inkscape:cx="21.054497" 2899 2899 inkscape:cy="18.655741" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#ff7f00;fill-opacity:1;stroke:#000000;stroke-width:0. 96498293;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#ff7f00;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 49.035019"2940 height="15. 035017"2941 x="0. 48249146"2942 y="1036. 8447"2943 rx=" 4.9268904"2944 ry=" 4.72505" />2939 width="29.249414" 2940 height="15.249415" 2941 x="0.37529233" 2942 y="1036.7375" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 16.705399"2949 y="1048. 7383"2948 x="6.6291261" 2949 y="1048.6942" 2950 2950 id="text13697" 2951 2951 sodipodi:linespacing="125%"><tspan 2952 2952 sodipodi:role="line" 2953 2953 id="tspan13699" 2954 x=" 16.705399"2955 y="1048. 7383">Or</tspan></text>2954 x="6.6291261" 2955 y="1048.6942">Or</tspan></text> 2956 2956 </g> 2957 2957 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/RedButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 11.313708"2898 inkscape:cx=" 15.29004"2897 inkscape:zoom="22.627416" 2898 inkscape:cx="40.038778" 2899 2899 inkscape:cy="14.585448" 2900 2900 inkscape:document-units="px" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:0. 96017593000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#ff0000;fill-opacity:1;stroke:#000000;stroke-width:0.74682957;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect4980" 2939 width=" 49.039825"2940 height="15. 039824"2941 x="0. 48008797"2942 y="1036. 8422"2943 rx=" 4.9039822"2944 ry=" 4.699945" />2939 width="29.25317" 2940 height="15.25317" 2941 x="0.37341478" 2942 y="1036.7355" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 19.887379"2949 y="1048. 6499"2948 x="9.8994951" 2949 y="1048.7383" 2950 2950 id="text6742" 2951 2951 sodipodi:linespacing="125%"><tspan 2952 2952 sodipodi:role="line" 2953 2953 id="tspan6744" 2954 x=" 19.887379"2955 y="1048. 6499">R</tspan></text>2954 x="9.8994951" 2955 y="1048.7383">R</tspan></text> 2956 2956 </g> 2957 2957 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/VioletButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 11.313708"2897 inkscape:zoom="22.627416" 2898 2898 inkscape:cx="25.896642" 2899 inkscape:cy=" 21.484168"2899 inkscape:cy="7.3420317" 2900 2900 inkscape:document-units="px" 2901 2901 inkscape:current-layer="layer1" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#8f00ff;fill-opacity:1;stroke:#000000;stroke-width:0. 97017038;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#8f00ff;fill-opacity:1;stroke:#000000;stroke-width:0.75463712;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect10572" 2939 width=" 49.029831"2940 height="15. 02983"2941 x="0. 48508519"2942 y="1036. 8473"2943 rx=" 4.9263692"2944 ry=" 4.7764921" />2939 width="29.245363" 2940 height="15.245363" 2941 x="0.37731856" 2942 y="1036.7395" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 18.826719"2949 y="1048. 8267"2948 x="8.9272242" 2949 y="1048.915" 2950 2950 id="text16764" 2951 2951 sodipodi:linespacing="125%"><tspan 2952 2952 sodipodi:role="line" 2953 2953 id="tspan16766" 2954 x=" 18.826719"2955 y="1048. 8267">Vi</tspan></text>2954 x="8.9272242" 2955 y="1048.915">Vi</tspan></text> 2956 2956 </g> 2957 2957 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/WhiteButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 11.313708"2897 inkscape:zoom="22.627416" 2898 2898 inkscape:cx="18.273851" 2899 2899 inkscape:cy="14.585448" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0. 99868327;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.77691513;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect3276" 2939 width=" 49.001316"2940 height="15. 001317"2941 x="0. 49934164"2942 y="1036. 8616"2943 rx=" 4.9322648"2944 ry=" 4.7407961" />2939 width="29.223085" 2940 height="15.223085" 2941 x="0.38845757" 2942 y="1036.7507" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 18.473166"2948 x="8.3526993" 2949 2949 y="1048.7383" 2950 2950 id="text5351" … … 2952 2952 sodipodi:role="line" 2953 2953 id="tspan5353" 2954 x=" 18.473166"2954 x="8.3526993" 2955 2955 y="1048.7383">W</tspan></text> 2956 2956 </g> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/YellowButton.svg
r24695 r24737 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 50"13 width="30" 14 14 height="16" 15 15 id="svg2" … … 2895 2895 inkscape:pageopacity="0.0" 2896 2896 inkscape:pageshadow="2" 2897 inkscape:zoom=" 11.313708"2898 inkscape:cx=" 4.683438"2897 inkscape:zoom="22.627416" 2898 inkscape:cx="32.967711" 2899 2899 inkscape:cy="14.585448" 2900 2900 inkscape:document-units="px" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:0. 97099811;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#ffff00;fill-opacity:1;stroke:#000000;stroke-width:0.75528377;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect11504" 2939 width=" 49.029003"2940 height="15. 029002"2941 x="0. 48549905"2942 y="1036. 8475"2943 rx=" 4.8623772"2944 ry=" 4.5627236" />2939 width="29.244717" 2940 height="15.244717" 2941 x="0.37764189" 2942 y="1036.7396" 2943 rx="5" 2944 ry="5" /> 2945 2945 <text 2946 2946 xml:space="preserve" 2947 2947 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2948 x=" 20.682875"2949 y="1048. 6497"2948 x="10.650797" 2949 y="1048.738" 2950 2950 id="text18575" 2951 2951 sodipodi:linespacing="125%"><tspan 2952 2952 sodipodi:role="line" 2953 2953 id="tspan18577" 2954 x=" 20.682875"2955 y="1048. 6497">Y</tspan></text>2954 x="10.650797" 2955 y="1048.738">Y</tspan></text> 2956 2956 </g> 2957 2957 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java
r24722 r24737 104 104 panelLights.setVisible(false); 105 105 panelTop = new PanelTop(); 106 panelTop.setBounds(new Rectangle(40, 165, 220, 1 55));106 panelTop.setBounds(new Rectangle(40, 165, 220, 160)); 107 107 panelTop.setVisible(false); 108 108 panelFog = new PanelFog(); 109 panelFog.setBounds(new Rectangle(40, 165, 220, 1 55));109 panelFog.setBounds(new Rectangle(40, 165, 220, 160)); 110 110 panelFog.setVisible(false); 111 111 panelRadar = new PanelRadar(); 112 panelRadar.setBounds(new Rectangle(40, 165, 220, 1 55));112 panelRadar.setBounds(new Rectangle(40, 165, 220, 160)); 113 113 panelRadar.setVisible(false); 114 114 panelLit = new PanelLit(); 115 panelLit.setBounds(new Rectangle(40, 165, 220, 1 55));115 panelLit.setBounds(new Rectangle(40, 165, 220, 160)); 116 116 panelLit.setVisible(false); 117 117 } … … 125 125 shapeIcon = new JLabel(new ImageIcon(getClass().getResource( 126 126 "/images/Cardinal_Pillar_South.png"))); 127 shapeIcon.setBounds(new Rectangle(265, 1 65, 130, 185));127 shapeIcon.setBounds(new Rectangle(265, 170, 130, 185)); 128 128 oseamPanel.add(shapeIcon, null); 129 129 lightIcon = new JLabel(new ImageIcon(getClass().getResource( 130 130 "/images/Light_White_120.png"))); 131 lightIcon.setBounds(new Rectangle(265, 1 65, 125, 185));131 lightIcon.setBounds(new Rectangle(265, 170, 125, 185)); 132 132 oseamPanel.add(lightIcon, null); 133 133 topIcon = new JLabel(); 134 topIcon.setBounds(new Rectangle(265, 1 65, 125, 185));134 topIcon.setBounds(new Rectangle(265, 170, 125, 185)); 135 135 oseamPanel.add(topIcon, null); 136 136 reflIcon = new JLabel(new ImageIcon(getClass().getResource( 137 137 "/images/Radar_Reflector_355.png"))); 138 reflIcon.setBounds(new Rectangle(265, 1 65, 125, 185));138 reflIcon.setBounds(new Rectangle(265, 170, 125, 185)); 139 139 oseamPanel.add(reflIcon, null); 140 140 radarIcon = new JLabel(new ImageIcon(getClass().getResource( 141 141 "/images/Radar_Station.png"))); 142 radarIcon.setBounds(new Rectangle(265, 1 65, 130, 185));142 radarIcon.setBounds(new Rectangle(265, 170, 130, 185)); 143 143 oseamPanel.add(radarIcon, null); 144 144 fogIcon = new JLabel(new ImageIcon(getClass().getResource( 145 145 "/images/Fog_Signal.png"))); 146 fogIcon.setBounds(new Rectangle(265, 1 65, 125, 185));146 fogIcon.setBounds(new Rectangle(265, 170, 125, 185)); 147 147 oseamPanel.add(fogIcon, null); 148 148 … … 248 248 249 249 nameLabel = new JLabel(); 250 nameLabel.setBounds(new Rectangle(5, 32 7, 60, 20));250 nameLabel.setBounds(new Rectangle(5, 329, 60, 20)); 251 251 nameLabel.setText(tr("Name:")); 252 252 oseamPanel.add(nameLabel, null); 253 253 nameBox = new JTextField(); 254 nameBox.setBounds(new Rectangle(60, 3 25, 200, 25));254 nameBox.setBounds(new Rectangle(60, 330, 200, 20)); 255 255 oseamPanel.add(nameBox, null); 256 256 saveButton = new JButton(); 257 saveButton.setBounds(new Rectangle(285, 3 25, 100, 25));257 saveButton.setBounds(new Rectangle(285, 330, 100, 20)); 258 258 saveButton.setText(tr("Save")); 259 259 oseamPanel.add(saveButton, null); … … 321 321 fogButton = new JRadioButton(new ImageIcon(getClass().getResource( 322 322 "/images/FogButton.png"))); 323 fogButton.setBounds(new Rectangle(0, 20 0, 34, 32));323 fogButton.setBounds(new Rectangle(0, 205, 34, 32)); 324 324 fogButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 325 325 fogButton.setToolTipText(Messages.getString("FogSignalsTip")); … … 332 332 radarButton = new JRadioButton(new ImageIcon(getClass() 333 333 .getResource("/images/RadarButton.png"))); 334 radarButton.setBounds(new Rectangle(0, 2 35, 34, 32));334 radarButton.setBounds(new Rectangle(0, 245, 34, 32)); 335 335 radarButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 336 336 radarButton.setToolTipText(Messages.getString("RadarTip")); … … 343 343 litButton = new JRadioButton(new ImageIcon(getClass().getResource( 344 344 "/images/LitButton.png"))); 345 litButton.setBounds(new Rectangle(0, 2 70, 34, 32));345 litButton.setBounds(new Rectangle(0, 285, 34, 32)); 346 346 litButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 347 347 litButton.setToolTipText(Messages.getString("LitTip")); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelCol.java
r24725 r24737 24 24 import java.awt.event.ActionListener; 25 25 26 public class PanelSpec extends JPanel { 27 28 private ButtonGroup shapeButtons = null; 29 private JRadioButton pillarButton = null; 30 private JRadioButton sparButton = null; 31 private JRadioButton canButton = null; 32 private JRadioButton coneButton = null; 33 private JRadioButton sphereButton = null; 34 private JRadioButton barrelButton = null; 35 private JRadioButton superButton = null; 36 private JRadioButton floatButton = null; 37 private JRadioButton beaconButton = null; 38 private JRadioButton towerButton = null; 39 private JLabel colourLabel = null; 26 public class PanelCol extends JPanel { 27 40 28 private ButtonGroup colourButtons = null; 41 private JRadioButton whiteButton = null; 42 private JRadioButton redButton = null; 43 private JRadioButton orangeButton = null; 44 private JRadioButton amberButton = null; 45 private JRadioButton yellowButton = null; 46 private JRadioButton greenButton = null; 47 private JRadioButton blueButton = null; 48 private JRadioButton violetButton = null; 49 private JRadioButton blackButton = null; 50 51 public PanelSpec() { 29 public JRadioButton offButton = null; 30 public JRadioButton whiteButton = null; 31 public JRadioButton redButton = null; 32 public JRadioButton orangeButton = null; 33 public JRadioButton amberButton = null; 34 public JRadioButton yellowButton = null; 35 public JRadioButton greenButton = null; 36 public JRadioButton blueButton = null; 37 public JRadioButton violetButton = null; 38 public JRadioButton blackButton = null; 39 40 public PanelCol() { 52 41 super(); 53 42 initialize(); … … 57 46 this.setLayout(null); 58 47 59 this.add(getPillarButton(), null); 60 this.add(getSparButton(), null); 61 this.add(getCanButton(), null); 62 this.add(getConeButton(), null); 63 this.add(getSphereButton(), null); 64 this.add(getBarrelButton(), null); 65 this.add(getSuperButton(), null); 66 this.add(getFloatButton(), null); 67 this.add(getBeaconButton(), null); 68 this.add(getTowerButton(), null); 69 shapeButtons = new ButtonGroup(); 70 shapeButtons.add(pillarButton); 71 shapeButtons.add(sparButton); 72 shapeButtons.add(canButton); 73 shapeButtons.add(coneButton); 74 shapeButtons.add(sphereButton); 75 shapeButtons.add(barrelButton); 76 shapeButtons.add(superButton); 77 shapeButtons.add(floatButton); 78 shapeButtons.add(beaconButton); 79 shapeButtons.add(towerButton); 80 ActionListener alShape = new ActionListener() { 81 public void actionPerformed(java.awt.event.ActionEvent e) { 82 pillarButton.setBorderPainted(pillarButton.isSelected()); 83 sparButton.setBorderPainted(sparButton.isSelected()); 84 canButton.setBorderPainted(canButton.isSelected()); 85 coneButton.setBorderPainted(coneButton.isSelected()); 86 sphereButton.setBorderPainted(sphereButton.isSelected()); 87 barrelButton.setBorderPainted(barrelButton.isSelected()); 88 superButton.setBorderPainted(superButton.isSelected()); 89 floatButton.setBorderPainted(floatButton.isSelected()); 90 beaconButton.setBorderPainted(beaconButton.isSelected()); 91 towerButton.setBorderPainted(towerButton.isSelected()); 92 } 93 }; 94 pillarButton.addActionListener(alShape); 95 sparButton.addActionListener(alShape); 96 canButton.addActionListener(alShape); 97 coneButton.addActionListener(alShape); 98 sphereButton.addActionListener(alShape); 99 barrelButton.addActionListener(alShape); 100 superButton.addActionListener(alShape); 101 floatButton.addActionListener(alShape); 102 beaconButton.addActionListener(alShape); 103 towerButton.addActionListener(alShape); 104 105 colourLabel = new JLabel(); 106 colourLabel.setBounds(new Rectangle(2, -2, 60, 20)); 107 colourLabel.setText(tr("Colour:")); 108 this.add(colourLabel, null); 48 this.add(getOffButton(), null); 109 49 this.add(getWhiteButton(), null); 110 50 this.add(getRedButton(), null); … … 118 58 colourButtons = new ButtonGroup(); 119 59 colourButtons.add(whiteButton); 60 colourButtons.add(offButton); 120 61 colourButtons.add(redButton); 121 62 colourButtons.add(orangeButton); … … 128 69 ActionListener alColour = new ActionListener() { 129 70 public void actionPerformed(java.awt.event.ActionEvent e) { 71 offButton.setBorderPainted(offButton.isSelected()); 130 72 whiteButton.setBorderPainted(whiteButton.isSelected()); 131 73 redButton.setBorderPainted(redButton.isSelected()); … … 139 81 } 140 82 }; 83 offButton.addActionListener(alColour); 141 84 whiteButton.addActionListener(alColour); 142 85 redButton.addActionListener(alColour); … … 150 93 } 151 94 152 private JRadioButton getPillarButton() { 153 if (pillarButton == null) { 154 pillarButton = new JRadioButton(new ImageIcon(getClass() 155 .getResource("/images/PillarButton.png"))); 156 pillarButton.setBounds(new Rectangle(55, 0, 34, 32)); 157 pillarButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 158 pillarButton.setToolTipText(Messages.getString("PillarTip")); 159 } 160 return pillarButton; 161 } 162 163 private JRadioButton getSparButton() { 164 if (sparButton == null) { 165 sparButton = new JRadioButton(new ImageIcon(getClass().getResource( 166 "/images/SparButton.png"))); 167 sparButton.setBounds(new Rectangle(55, 32, 34, 32)); 168 sparButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 169 sparButton.setToolTipText(Messages.getString("SparTip")); 170 } 171 return sparButton; 172 } 173 174 private JRadioButton getCanButton() { 175 if (canButton == null) { 176 canButton = new JRadioButton(new ImageIcon(getClass().getResource( 177 "/images/CanButton.png"))); 178 canButton.setBounds(new Rectangle(55, 64, 34, 32)); 179 canButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 180 canButton.setToolTipText(Messages.getString("CanTip")); 181 } 182 return canButton; 183 } 184 185 private JRadioButton getConeButton() { 186 if (coneButton == null) { 187 coneButton = new JRadioButton(new ImageIcon(getClass().getResource( 188 "/images/ConeButton.png"))); 189 coneButton.setBounds(new Rectangle(55, 96, 34, 32)); 190 coneButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 191 coneButton.setToolTipText(Messages.getString("ConeTip")); 192 } 193 return coneButton; 194 } 195 196 private JRadioButton getSphereButton() { 197 if (sphereButton == null) { 198 sphereButton = new JRadioButton(new ImageIcon(getClass() 199 .getResource("/images/SphereButton.png"))); 200 sphereButton.setBounds(new Rectangle(55, 128, 34, 32)); 201 sphereButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 202 sphereButton.setToolTipText(Messages.getString("SphereTip")); 203 } 204 return sphereButton; 205 } 206 207 private JRadioButton getBarrelButton() { 208 if (barrelButton == null) { 209 barrelButton = new JRadioButton(new ImageIcon(getClass() 210 .getResource("/images/BarrelButton.png"))); 211 barrelButton.setBounds(new Rectangle(90, 0, 34, 32)); 212 barrelButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 213 barrelButton.setToolTipText(Messages.getString("BarrelTip")); 214 } 215 return barrelButton; 216 } 217 218 private JRadioButton getSuperButton() { 219 if (superButton == null) { 220 superButton = new JRadioButton(new ImageIcon(getClass() 221 .getResource("/images/SuperButton.png"))); 222 superButton.setBounds(new Rectangle(90, 32, 34, 32)); 223 superButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 224 superButton.setToolTipText(Messages.getString("SuperTip")); 225 } 226 return superButton; 227 } 228 229 private JRadioButton getFloatButton() { 230 if (floatButton == null) { 231 floatButton = new JRadioButton(new ImageIcon(getClass() 232 .getResource("/images/FloatButton.png"))); 233 floatButton.setBounds(new Rectangle(90, 64, 34, 32)); 234 floatButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 235 floatButton.setToolTipText(Messages.getString("FloatTip")); 236 } 237 return floatButton; 238 } 239 240 private JRadioButton getBeaconButton() { 241 if (beaconButton == null) { 242 beaconButton = new JRadioButton(new ImageIcon(getClass() 243 .getResource("/images/BeaconButton.png"))); 244 beaconButton.setBounds(new Rectangle(90, 96, 34, 32)); 245 beaconButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 246 beaconButton.setToolTipText(Messages.getString("BeaconTip")); 247 } 248 return beaconButton; 249 } 250 251 private JRadioButton getTowerButton() { 252 if (towerButton == null) { 253 towerButton = new JRadioButton(new ImageIcon(getClass() 254 .getResource("/images/TowerButton.png"))); 255 towerButton.setBounds(new Rectangle(90, 128, 34, 32)); 256 towerButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 257 towerButton.setToolTipText(Messages.getString("TowerTip")); 258 } 259 return towerButton; 95 private JRadioButton getOffButton() { 96 if (offButton == null) { 97 offButton = new JRadioButton(new ImageIcon(getClass() 98 .getResource("/images/OffButton.png"))); 99 offButton.setBounds(new Rectangle(0, 0, 34, 16)); 100 offButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 101 offButton.setToolTipText(tr("No colour")); 102 } 103 return offButton; 260 104 } 261 105 … … 264 108 whiteButton = new JRadioButton(new ImageIcon(getClass() 265 109 .getResource("/images/WhiteButton.png"))); 266 whiteButton.setBounds(new Rectangle(0, 16, 52, 16));110 whiteButton.setBounds(new Rectangle(0, 16, 34, 16)); 267 111 whiteButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 268 112 whiteButton.setToolTipText(tr("White")); … … 275 119 redButton = new JRadioButton(new ImageIcon(getClass().getResource( 276 120 "/images/RedButton.png"))); 277 redButton.setBounds(new Rectangle(0, 32, 52, 16));121 redButton.setBounds(new Rectangle(0, 32, 34, 16)); 278 122 redButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 279 123 redButton.setToolTipText(tr("Red")); … … 286 130 orangeButton = new JRadioButton(new ImageIcon(getClass() 287 131 .getResource("/images/OrangeButton.png"))); 288 orangeButton.setBounds(new Rectangle(0, 48, 52, 16));132 orangeButton.setBounds(new Rectangle(0, 48, 34, 16)); 289 133 orangeButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 290 134 orangeButton.setToolTipText(tr("Orange")); … … 297 141 amberButton = new JRadioButton(new ImageIcon(getClass() 298 142 .getResource("/images/AmberButton.png"))); 299 amberButton.setBounds(new Rectangle(0, 64, 52, 16));143 amberButton.setBounds(new Rectangle(0, 64, 34, 16)); 300 144 amberButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 301 145 amberButton.setToolTipText(tr("Amber")); … … 308 152 yellowButton = new JRadioButton(new ImageIcon(getClass() 309 153 .getResource("/images/YellowButton.png"))); 310 yellowButton.setBounds(new Rectangle(0, 80, 52, 16));154 yellowButton.setBounds(new Rectangle(0, 80, 34, 16)); 311 155 yellowButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 312 156 yellowButton.setToolTipText(tr("Yellow")); … … 319 163 greenButton = new JRadioButton(new ImageIcon(getClass() 320 164 .getResource("/images/GreenButton.png"))); 321 greenButton.setBounds(new Rectangle(0, 96, 52, 16));165 greenButton.setBounds(new Rectangle(0, 96, 34, 16)); 322 166 greenButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 323 167 greenButton.setToolTipText(tr("Green")); … … 330 174 blueButton = new JRadioButton(new ImageIcon(getClass().getResource( 331 175 "/images/BlueButton.png"))); 332 blueButton.setBounds(new Rectangle(0, 112, 52, 16));176 blueButton.setBounds(new Rectangle(0, 112, 34, 16)); 333 177 blueButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 334 178 blueButton.setToolTipText(tr("Blue")); … … 341 185 violetButton = new JRadioButton(new ImageIcon(getClass() 342 186 .getResource("/images/VioletButton.png"))); 343 violetButton.setBounds(new Rectangle(0, 128, 52, 16));187 violetButton.setBounds(new Rectangle(0, 128, 34, 16)); 344 188 violetButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 345 189 violetButton.setToolTipText(tr("Violet")); … … 352 196 blackButton = new JRadioButton(new ImageIcon(getClass() 353 197 .getResource("/images/BlackButton.png"))); 354 blackButton.setBounds(new Rectangle(0, 144, 52, 16));198 blackButton.setBounds(new Rectangle(0, 144, 34, 16)); 355 199 blackButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 356 200 blackButton.setToolTipText(tr("Black")); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLit.java
r24720 r24737 23 23 public class PanelLit extends JPanel { 24 24 25 private PanelCol panelCol = null; 26 25 27 public PanelLit() { 26 28 super(); 29 panelCol = new PanelCol(); 30 panelCol.setBounds(new Rectangle(0, 0, 34, 160)); 27 31 initialize(); 28 32 } … … 30 34 private void initialize() { 31 35 this.setLayout(null); 36 this.add(panelCol, null); 37 panelCol.blackButton.setVisible(false); 32 38 } 33 39 } -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSpec.java
r24724 r24737 37 37 private JRadioButton beaconButton = null; 38 38 private JRadioButton towerButton = null; 39 private JLabel colourLabel = null; 40 private ButtonGroup colourButtons = null; 41 private JRadioButton whiteButton = null; 42 private JRadioButton redButton = null; 43 private JRadioButton orangeButton = null; 44 private JRadioButton amberButton = null; 45 private JRadioButton yellowButton = null; 46 private JRadioButton greenButton = null; 47 private JRadioButton blueButton = null; 48 private JRadioButton violetButton = null; 49 private JRadioButton blackButton = null; 39 private PanelCol panelCol = null; 50 40 51 41 public PanelSpec() { 52 42 super(); 43 panelCol = new PanelCol(); 44 panelCol.setBounds(new Rectangle(9, 0, 34, 160)); 53 45 initialize(); 54 46 } … … 57 49 this.setLayout(null); 58 50 51 this.add(panelCol, null); 59 52 this.add(getPillarButton(), null); 60 53 this.add(getSparButton(), null); … … 103 96 towerButton.addActionListener(alShape); 104 97 105 colourLabel = new JLabel();106 colourLabel.setBounds(new Rectangle(2, -2, 60, 20));107 colourLabel.setText(tr("Colour:"));108 this.add(colourLabel, null);109 this.add(getWhiteButton(), null);110 this.add(getRedButton(), null);111 this.add(getOrangeButton(), null);112 this.add(getAmberButton(), null);113 this.add(getYellowButton(), null);114 this.add(getGreenButton(), null);115 this.add(getBlueButton(), null);116 this.add(getVioletButton(), null);117 this.add(getBlackButton(), null);118 colourButtons = new ButtonGroup();119 colourButtons.add(whiteButton);120 colourButtons.add(redButton);121 colourButtons.add(orangeButton);122 colourButtons.add(amberButton);123 colourButtons.add(yellowButton);124 colourButtons.add(greenButton);125 colourButtons.add(blueButton);126 colourButtons.add(violetButton);127 colourButtons.add(blackButton);128 ActionListener alColour = new ActionListener() {129 public void actionPerformed(java.awt.event.ActionEvent e) {130 whiteButton.setBorderPainted(whiteButton.isSelected());131 redButton.setBorderPainted(redButton.isSelected());132 orangeButton.setBorderPainted(orangeButton.isSelected());133 amberButton.setBorderPainted(amberButton.isSelected());134 yellowButton.setBorderPainted(yellowButton.isSelected());135 greenButton.setBorderPainted(greenButton.isSelected());136 blueButton.setBorderPainted(blueButton.isSelected());137 violetButton.setBorderPainted(violetButton.isSelected());138 blackButton.setBorderPainted(blackButton.isSelected());139 }140 };141 whiteButton.addActionListener(alColour);142 redButton.addActionListener(alColour);143 orangeButton.addActionListener(alColour);144 amberButton.addActionListener(alColour);145 yellowButton.addActionListener(alColour);146 greenButton.addActionListener(alColour);147 blueButton.addActionListener(alColour);148 violetButton.addActionListener(alColour);149 blackButton.addActionListener(alColour);150 98 } 151 99 … … 260 208 } 261 209 262 private JRadioButton getWhiteButton() {263 if (whiteButton == null) {264 whiteButton = new JRadioButton(new ImageIcon(getClass()265 .getResource("/images/WhiteButton.png")));266 whiteButton.setBounds(new Rectangle(0, 16, 52, 16));267 whiteButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));268 whiteButton.setToolTipText(tr("White"));269 }270 return whiteButton;271 }272 273 private JRadioButton getRedButton() {274 if (redButton == null) {275 redButton = new JRadioButton(new ImageIcon(getClass().getResource(276 "/images/RedButton.png")));277 redButton.setBounds(new Rectangle(0, 32, 52, 16));278 redButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));279 redButton.setToolTipText(tr("Red"));280 }281 return redButton;282 }283 284 private JRadioButton getOrangeButton() {285 if (orangeButton == null) {286 orangeButton = new JRadioButton(new ImageIcon(getClass()287 .getResource("/images/OrangeButton.png")));288 orangeButton.setBounds(new Rectangle(0, 48, 52, 16));289 orangeButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));290 orangeButton.setToolTipText(tr("Orange"));291 }292 return orangeButton;293 }294 295 private JRadioButton getAmberButton() {296 if (amberButton == null) {297 amberButton = new JRadioButton(new ImageIcon(getClass()298 .getResource("/images/AmberButton.png")));299 amberButton.setBounds(new Rectangle(0, 64, 52, 16));300 amberButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));301 amberButton.setToolTipText(tr("Amber"));302 }303 return amberButton;304 }305 306 private JRadioButton getYellowButton() {307 if (yellowButton == null) {308 yellowButton = new JRadioButton(new ImageIcon(getClass()309 .getResource("/images/YellowButton.png")));310 yellowButton.setBounds(new Rectangle(0, 80, 52, 16));311 yellowButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));312 yellowButton.setToolTipText(tr("Yellow"));313 }314 return yellowButton;315 }316 317 private JRadioButton getGreenButton() {318 if (greenButton == null) {319 greenButton = new JRadioButton(new ImageIcon(getClass()320 .getResource("/images/GreenButton.png")));321 greenButton.setBounds(new Rectangle(0, 96, 52, 16));322 greenButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));323 greenButton.setToolTipText(tr("Green"));324 }325 return greenButton;326 }327 328 private JRadioButton getBlueButton() {329 if (blueButton == null) {330 blueButton = new JRadioButton(new ImageIcon(getClass().getResource(331 "/images/BlueButton.png")));332 blueButton.setBounds(new Rectangle(0, 112, 52, 16));333 blueButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));334 blueButton.setToolTipText(tr("Blue"));335 }336 return blueButton;337 }338 339 private JRadioButton getVioletButton() {340 if (violetButton == null) {341 violetButton = new JRadioButton(new ImageIcon(getClass()342 .getResource("/images/VioletButton.png")));343 violetButton.setBounds(new Rectangle(0, 128, 52, 16));344 violetButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));345 violetButton.setToolTipText(tr("Violet"));346 }347 return violetButton;348 }349 350 private JRadioButton getBlackButton() {351 if (blackButton == null) {352 blackButton = new JRadioButton(new ImageIcon(getClass()353 .getResource("/images/BlackButton.png")));354 blackButton.setBounds(new Rectangle(0, 144, 52, 16));355 blackButton.setBorder(BorderFactory.createLineBorder(Color.magenta, 2));356 blackButton.setToolTipText(tr("Black"));357 }358 return blackButton;359 }360 361 210 } -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelTop.java
r24720 r24737 24 24 public class PanelTop extends JPanel { 25 25 26 private PanelCol panelCol = null; 26 27 private ButtonGroup topButtons = null; 27 28 private JRadioButton noTopButton = null; … … 29 30 public PanelTop() { 30 31 super(); 32 panelCol = new PanelCol(); 33 panelCol.setBounds(new Rectangle(0, 0, 34, 160)); 31 34 initialize(); 32 35 } … … 34 37 private void initialize() { 35 38 this.setLayout(null); 39 this.add(panelCol, null); 36 40 this.add(getNoTopButton(), null); 37 41 topButtons = new ButtonGroup(); … … 43 47 noTopButton = new JRadioButton(new ImageIcon(getClass() 44 48 .getResource("/images/NoTopButton.png"))); 45 noTopButton.setBounds(new Rectangle( 5, 5, 30, 30));49 noTopButton.setBounds(new Rectangle(40, 5, 30, 30)); 46 50 noTopButton.setToolTipText(Messages.getString("NorthTip")); 47 51 }
Note:
See TracChangeset
for help on using the changeset viewer.