Revision: 6014
http://sourceforge.net/p/jump-pilot/code/6014
Author: ma15569
Date: 2018-12-06 15:26:57 +0000 (Thu, 06 Dec 2018)
Log Message:
-----------
Coorect bug on save JScollPane content to image file
Modified Paths:
--------------
core/trunk/src/com/vividsolutions/jump/workbench/ui/style/LegendPlugIn.java
Modified:
core/trunk/src/com/vividsolutions/jump/workbench/ui/style/LegendPlugIn.java
===================================================================
--- core/trunk/src/com/vividsolutions/jump/workbench/ui/style/LegendPlugIn.java
2018-12-06 14:31:07 UTC (rev 6013)
+++ core/trunk/src/com/vividsolutions/jump/workbench/ui/style/LegendPlugIn.java
2018-12-06 15:26:57 UTC (rev 6014)
@@ -349,7 +349,7 @@
return ListVectorLayerNames;
}
- private JPanel legend(PlugInContext context) throws IOException {
+ private JScrollPane legend(PlugInContext context) throws IOException {
final JPanel mainPanel = new JPanel(new BorderLayout());
JPanel mPanel = new JPanel();
@@ -366,7 +366,7 @@
scrollPane.getViewport().setViewPosition(new Point(0, 0));
mainPanel.add(scrollPane, BorderLayout.CENTER);
- return mainPanel;
+ return scrollPane;
}
private boolean isEsriType(Layer layer) {
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel