This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import core.db.DBManager; | |
import core.db.user.UserManager; | |
import core.gui.comp.entry.SpielerLabelEntry; | |
import core.gui.theme.ThemeManager; | |
import core.model.HOVerwaltung; | |
import core.model.player.MatchRoleID; | |
import core.model.player.Player; | |
import javax.swing.*; | |
import java.awt.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn uniques [v] | |
(->> v | |
(frequencies) | |
(filter #(<= (second %) 1)) | |
(map first))) | |
(uniques [1 2 3 4 5 6 1 2 3 5 6]) ;=> (4) | |
(uniques [:a :b :c :c]) ;=> (:a :b) | |
(uniques [1 2 3 1 2 3]) ;=> () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
java -cp sqltool-2.5.0.jar org.hsqldb.cmdline.SqlTool --rcFile sqltool.rc defaultdb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.weblogism; | |
import com.github.weisj.darklaf.LafManager; | |
import com.github.weisj.darklaf.theme.DarculaTheme; | |
import javax.swing.*; | |
import javax.swing.table.*; | |
import java.awt.*; | |
public class CenteredLabelFrame extends JFrame { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sql> select count(*) from matchlineuppenaltytaker ; | |
22 | |
sql> select * from matchlineuppenaltytaker limit 3 ; | |
PLAYERID POS LINEUPNAME | |
--------- ----------- ---------- | |
553720172 -1509883904 [null] | |
553720273 -838795264 [null] | |
553713664 [null] | |
Fetched 3 rows. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.example</groupId> | |
<artifactId>HO</artifactId> | |
<version>4.0.0</version> | |
<name>HO</name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.weblogism; | |
import com.github.weisj.darklaf.LafManager; | |
import com.github.weisj.darklaf.theme.DarculaTheme; | |
import javax.swing.*; | |
import javax.swing.table.*; | |
import java.awt.*; | |
public class DarkTableRendering extends JFrame { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.weblogism; | |
import com.github.weisj.darklaf.LafManager; | |
import com.github.weisj.darklaf.theme.DarculaTheme; | |
import javax.swing.*; | |
import javax.swing.table.*; | |
import java.awt.*; | |
public class DarkTable extends JFrame { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.form = new byte[] { 0,0,0,0,0,0,0,0,0,0,0,0,0,0 }; | |
this.form = new byte[] { 5,0,0,0,0,0,0,0,0,0,0,0,0,0 }; | |
this.form = new byte[] { 3,1,1,1,1,1,1,1,5,0,0,0,0,0 }; | |
this.form = new byte[] { 1,3,1,1,1,1,1,1,1,5,0,0,0,0 }; | |
this.form = new byte[] { 1,1,1,1,1,3,1,1,1,1,1,1,1,5 }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/module/lineup/PlayerPositionPanel.java b/src/main/java/module/lineup/PlayerPositionPanel.java | |
index 74a1984..2e669d7 100644 | |
--- a/src/main/java/module/lineup/PlayerPositionPanel.java | |
+++ b/src/main/java/module/lineup/PlayerPositionPanel.java | |
@@ -30,10 +30,7 @@ import java.util.Arrays; | |
import java.util.List; | |
import java.util.Vector; | |
-import javax.swing.DefaultComboBoxModel; | |
-import javax.swing.JComboBox; |