diff --git a/src/config-tool/ConfigTool/src/org/hyperion/hypercon/gui/LedDivideDialog.java b/src/config-tool/ConfigTool/src/org/hyperion/hypercon/gui/LedDivideDialog.java new file mode 100644 index 00000000..d0072df1 --- /dev/null +++ b/src/config-tool/ConfigTool/src/org/hyperion/hypercon/gui/LedDivideDialog.java @@ -0,0 +1,48 @@ +package org.hyperion.hypercon.gui; + +import java.awt.GridLayout; + +import javax.swing.ButtonGroup; +import javax.swing.JFrame; +import javax.swing.JPanel; +import javax.swing.JRadioButton; + +public class LedDivideDialog extends JFrame { + + private final int mLedCount; + private final int mTransformCount; + + private JPanel mContentPanel; + + public LedDivideDialog(int pLedCnt, int pTransformCnt) { + super(); + + mLedCount = pLedCnt; + mTransformCount = pTransformCnt; + + initialise(); + } + + private void initialise() { + mContentPanel = new JPanel(); + mContentPanel.setLayout(new GridLayout(mLedCount, mTransformCount, 5, 5)); + + for (int iLed=0; iLed