Added nftables panels

This commit is contained in:
WickedJack99
2023-12-30 17:35:53 +01:00
parent 5989d4d19c
commit a095e58f52
3 changed files with 40 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ public final class GUIConstants {
public static enum Panel {
MonitoringPanel,
ControllingPanel,
NFTableChainPanel,
NFTableRulePanel,
ConnectToServerPanel,
ConnectionsTablePanel
}

View File

@@ -0,0 +1,12 @@
/**
* @author Aaron Moser
* @date 30.12.2023
* @lastChange 30.12.2023
*/
package gui.src.panels.ControllingPanel.NFTable.NFTablesChainPanel;
import javax.swing.JPanel;
public class NFTablesChainPanel extends JPanel {
}

View File

@@ -0,0 +1,26 @@
/**
* @author Aaron Moser
* @date 30.12.2023
* @lastChange 30.12.2023
*/
package gui.src.panels.ControllingPanel.NFTable.NFTablesTablePanel;
import javax.swing.BoxLayout;
import javax.swing.JPanel;
public final class NFTablesTablePanel extends JPanel {
private static NFTablesTablePanel instance = null;
private NFTablesTablePanel() {
this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
}
public static NFTablesTablePanel getInstance() {
if (instance == null) {
instance = new NFTablesTablePanel();
}
return instance;
}
}