Index: trunk/src/org/openstreetmap/josm/gui/layer/imagery/WMTSLayerSelection.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/imagery/WMTSLayerSelection.java	(revision 13749)
+++ trunk/src/org/openstreetmap/josm/gui/layer/imagery/WMTSLayerSelection.java	(revision 13750)
@@ -27,8 +27,17 @@
 import org.openstreetmap.josm.tools.GBC;
 
+/**
+ *
+ * Class for displaying WMTS layer selection panel
+ *
+ */
 public class WMTSLayerSelection extends JPanel {
     private List<Entry<String, List<Layer>>> layers;
     private JTable list;
 
+    /**
+     *
+     * @param layers list of grouped layers (by tileMatrixSet and name)
+     */
     public WMTSLayerSelection(List<Entry<String, List<Layer>>> layers) {
         super(new GridBagLayout());
@@ -81,5 +90,4 @@
                 });
         list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
-//        list.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
         list.setAutoCreateRowSorter(true);
         list.setRowSelectionAllowed(true);
