|
|
|
@ -57,14 +57,15 @@ public class WMSLayerPane extends JPanel implements UIObserver {
|
|
|
|
|
public WMSLayerPane() { |
|
|
|
|
final double p = TableLayout.PREFERRED; |
|
|
|
|
double[] rowSize = {p}; |
|
|
|
|
double[] COLUMN_SIZE = {TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH, 84, 44}; |
|
|
|
|
double[] COLUMN_SIZE = {TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH, 84, 95}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wmsUrl = new UITextArea(); |
|
|
|
|
connectButton = new UIButton(Toolkit.i18nText("Fine-Design_Chart_Connect_WMP")); |
|
|
|
|
|
|
|
|
|
String connectionButtonText = Toolkit.i18nText("Fine-Design_Chart_Connect_WMP"); |
|
|
|
|
connectButton = new UIButton(connectionButtonText); |
|
|
|
|
connectButton.setToolTipText(connectionButtonText); |
|
|
|
|
Component[][] comps = new Component[][]{ |
|
|
|
|
new Component[]{new UILabel("url"), wmsUrl, connectButton} |
|
|
|
|
new Component[]{new UILabel("URL"), wmsUrl, connectButton} |
|
|
|
|
}; |
|
|
|
|
JPanel northPane = TableLayout4VanChartHelper.createGapTableLayoutPane(comps, rowSize, COLUMN_SIZE); |
|
|
|
|
northPane.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_BORDER); |
|
|
|
|