Revision 4392 branches/v05/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/ui/showResults/ShowResultsPanel.java
ShowResultsPanel.java | ||
---|---|---|
330 | 330 |
*/ |
331 | 331 |
private JPanel getLinksPanel() { |
332 | 332 |
if (linksPanel == null) { |
333 |
linksPanel = new JPanel(); |
|
333 |
FlowLayout flowLayout = new FlowLayout(); |
|
334 |
flowLayout.setAlignment(flowLayout.RIGHT); |
|
335 |
linksPanel = new JPanel(flowLayout); |
|
334 | 336 |
linksPanel.add(getDescriptionButton(), null); |
335 |
linksPanel.add(getJLabel(), null); |
|
336 | 337 |
linksPanel.add(getMapButton(), null); |
337 | 338 |
linksPanel.add(getCloseButton(), null); |
338 | 339 |
} |
... | ... | |
363 | 364 |
descriptionButton = new JButton(); |
364 | 365 |
descriptionButton.setText(Translator.getText(translator,"description")); |
365 | 366 |
descriptionButton.setActionCommand("description"); |
366 |
//descriptionButton.setPreferredSize(new Dimension(95, 25));
|
|
367 |
descriptionButton.setPreferredSize(new Dimension(95, 23));
|
|
367 | 368 |
} |
368 | 369 |
return descriptionButton; |
369 | 370 |
} |
... | ... | |
392 | 393 |
mapButton = new JButton(); |
393 | 394 |
mapButton.setText(Translator.getText(translator,"addLayer")); |
394 | 395 |
mapButton.setActionCommand("layer"); |
395 |
// mapButton.setPreferredSize(new Dimension(90, 25));
|
|
396 |
mapButton.setPreferredSize(new Dimension(95, 23));
|
|
396 | 397 |
} |
397 | 398 |
return mapButton; |
398 | 399 |
} |
... | ... | |
638 | 639 |
lastButton.setText(Translator.getText(translator,"last")); |
639 | 640 |
lastButton.setActionCommand("last"); |
640 | 641 |
lastButton.setEnabled(false); |
641 |
lastButton.setPreferredSize(new Dimension(95, 25));
|
|
642 |
lastButton.setPreferredSize(new Dimension(95, 23));
|
|
642 | 643 |
} |
643 | 644 |
return lastButton; |
644 | 645 |
} |
... | ... | |
654 | 655 |
nextButton = new JButton(); |
655 | 656 |
nextButton.setText(Translator.getText(translator,"next")); |
656 | 657 |
nextButton.setActionCommand("next"); |
657 |
nextButton.setPreferredSize(new Dimension(95, 25));
|
|
658 |
nextButton.setPreferredSize(new Dimension(95, 23));
|
|
658 | 659 |
if (this.numRecords < 2) { |
659 | 660 |
nextButton.setEnabled(false); |
660 | 661 |
} |
... | ... | |
673 | 674 |
closeButton = new JButton(); |
674 | 675 |
closeButton.setText(Translator.getText(translator,"close")); |
675 | 676 |
closeButton.setActionCommand("close"); |
676 |
closeButton.setPreferredSize(new Dimension(90, 25));
|
|
677 |
closeButton.setPreferredSize(new Dimension(80, 23));
|
|
677 | 678 |
} |
678 | 679 |
return closeButton; |
679 | 680 |
} |
Also available in: Unified diff