Utility adjustments for Java 10 compatibility.

This commit is contained in:
MobiusDev 2018-08-09 16:36:56 +00:00
parent 8008261d17
commit 7352425305
33 changed files with 56 additions and 22 deletions

View File

@ -1,5 +1,5 @@
@echo off
title Register Game Server
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
pause

View File

@ -1,7 +1,7 @@
@echo off
title SQL Account Manager
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
if %errorlevel% == 0 (
echo.
echo Execution successful

View File

@ -201,6 +201,8 @@ public class DBConfigGUI extends JFrame
add(btnConnect);
SpringUtilities.makeCompactGrid(getContentPane(), 6, 2, 5, 5, 5, 5);
pack();
}
@Override

View File

@ -78,6 +78,9 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
appendToProgressArea("Connected");
add(scrollPane, BorderLayout.CENTER);
getContentPane().setPreferredSize(new Dimension(width, height));
pack();
}
@Override

View File

@ -1,5 +1,5 @@
@echo off
title Register Game Server
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
pause

View File

@ -1,7 +1,7 @@
@echo off
title SQL Account Manager
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
if %errorlevel% == 0 (
echo.
echo Execution successful

View File

@ -201,6 +201,8 @@ public class DBConfigGUI extends JFrame
add(btnConnect);
SpringUtilities.makeCompactGrid(getContentPane(), 6, 2, 5, 5, 5, 5);
pack();
}
@Override

View File

@ -78,6 +78,9 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
appendToProgressArea("Connected");
add(scrollPane, BorderLayout.CENTER);
getContentPane().setPreferredSize(new Dimension(width, height));
pack();
}
@Override

View File

@ -1,5 +1,5 @@
@echo off
title Register Game Server
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
pause

View File

@ -1,7 +1,7 @@
@echo off
title SQL Account Manager
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
if %errorlevel% == 0 (
echo.
echo Execution successful

View File

@ -201,6 +201,8 @@ public class DBConfigGUI extends JFrame
add(btnConnect);
SpringUtilities.makeCompactGrid(getContentPane(), 6, 2, 5, 5, 5, 5);
pack();
}
@Override

View File

@ -78,6 +78,9 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
appendToProgressArea("Connected");
add(scrollPane, BorderLayout.CENTER);
getContentPane().setPreferredSize(new Dimension(width, height));
pack();
}
@Override

View File

@ -1,5 +1,5 @@
@echo off
title Register Game Server
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
pause

View File

@ -1,7 +1,7 @@
@echo off
title SQL Account Manager
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
if %errorlevel% == 0 (
echo.
echo Execution successful

View File

@ -201,6 +201,8 @@ public class DBConfigGUI extends JFrame
add(btnConnect);
SpringUtilities.makeCompactGrid(getContentPane(), 6, 2, 5, 5, 5, 5);
pack();
}
@Override

View File

@ -78,6 +78,9 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
appendToProgressArea("Connected");
add(scrollPane, BorderLayout.CENTER);
getContentPane().setPreferredSize(new Dimension(width, height));
pack();
}
@Override

View File

@ -15,14 +15,8 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>spartan.tipper</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>il.org.spartan.nature</nature>
</natures>
</projectDescription>

View File

@ -1,5 +1,5 @@
@echo off
title Register Game Server
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
pause

View File

@ -1,7 +1,7 @@
@echo off
title SQL Account Manager
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
if %errorlevel% == 0 (
echo.
echo Execution successful

View File

@ -201,6 +201,8 @@ public class DBConfigGUI extends JFrame
add(btnConnect);
SpringUtilities.makeCompactGrid(getContentPane(), 6, 2, 5, 5, 5, 5);
pack();
}
@Override

View File

@ -78,6 +78,9 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
appendToProgressArea("Connected");
add(scrollPane, BorderLayout.CENTER);
getContentPane().setPreferredSize(new Dimension(width, height));
pack();
}
@Override

View File

@ -1,5 +1,5 @@
@echo off
title Register Game Server
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
pause

View File

@ -1,7 +1,7 @@
@echo off
title SQL Account Manager
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
if %errorlevel% == 0 (
echo.
echo Execution successful

View File

@ -201,6 +201,8 @@ public class DBConfigGUI extends JFrame
add(btnConnect);
SpringUtilities.makeCompactGrid(getContentPane(), 6, 2, 5, 5, 5, 5);
pack();
}
@Override

View File

@ -78,6 +78,9 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
appendToProgressArea("Connected");
add(scrollPane, BorderLayout.CENTER);
getContentPane().setPreferredSize(new Dimension(width, height));
pack();
}
@Override

View File

@ -1,5 +1,5 @@
@echo off
title Register Game Server
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
pause

View File

@ -1,7 +1,7 @@
@echo off
title SQL Account Manager
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
if %errorlevel% == 0 (
echo.
echo Execution successful

View File

@ -201,6 +201,8 @@ public class DBConfigGUI extends JFrame
add(btnConnect);
SpringUtilities.makeCompactGrid(getContentPane(), 6, 2, 5, 5, 5, 5);
pack();
}
@Override

View File

@ -78,6 +78,9 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
appendToProgressArea("Connected");
add(scrollPane, BorderLayout.CENTER);
getContentPane().setPreferredSize(new Dimension(width, height));
pack();
}
@Override

View File

@ -1,5 +1,5 @@
@echo off
title Register Game Server
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.gsregistering.BaseGameServerRegister -c
pause

View File

@ -1,7 +1,7 @@
@echo off
title SQL Account Manager
color 17
java -version:1.8 -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
java -Djava.util.logging.config.file=console.cfg -cp ./../libs/* com.l2jmobius.tools.accountmanager.SQLAccountManager
if %errorlevel% == 0 (
echo.
echo Execution successful

View File

@ -201,6 +201,8 @@ public class DBConfigGUI extends JFrame
add(btnConnect);
SpringUtilities.makeCompactGrid(getContentPane(), 6, 2, 5, 5, 5, 5);
pack();
}
@Override

View File

@ -78,6 +78,9 @@ public class DBInstallerGUI extends JFrame implements DBOutputInterface
appendToProgressArea("Connected");
add(scrollPane, BorderLayout.CENTER);
getContentPane().setPreferredSize(new Dimension(width, height));
pack();
}
@Override