Skip to content

Commit

Permalink
Some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zenith391 committed Sep 28, 2019
1 parent 86fb331 commit 9111eed
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-9">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-12">
<attributes>
<attribute name="module" value="true"/>
</attributes>
Expand Down
8 changes: 5 additions & 3 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=9
org.eclipse.jdt.core.compiler.codegen.targetPlatform=12
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=9
org.eclipse.jdt.core.compiler.compliance=12
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=9
org.eclipse.jdt.core.compiler.source=12
10 changes: 8 additions & 2 deletions install_content
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VER 19.04-pre
VER 20.04-pre
LABEL Downloading System Components.
MKDIR System
MKDIR System/Components
Expand All @@ -16,9 +16,15 @@ DOWN System/Resources/Images/Cursors/LoadingCursor.png
LABEL Downloading logo..
DOWN System/Resources/Images/JEternalLogo128.png
DOWN System/Resources/Images/JEternalLogo32.png
DOWN System/Resources/Images/JEternalLogo612.png
LABEL Downloading images..
DOWN System/Resources/Images/FileDefaultIcon.png
LABEL Downloading audio..
MKDIR System/Resources/Audio
DOWN System/Resources/Audio/login.wav
DOWN System/Resources/Audio/notification.wav
DOWN System/Resources/Audio/notification2.wav
DOWN System/Resources/Audio/shutdown.wav
DOWN System/Resources/Audio/startup.wav
LABEL Downloading system applications..
MKDIR System/SysApps
DOWN System/SysApps/Pictures.eef
Expand Down
4 changes: 1 addition & 3 deletions src/org/jeternal/internal/Jeternal.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Jeternal {

public static JFrame jEternal;
public static Desktop desktop;
public final static String jEternalVersion = "19.04-beta";
public final static String jEternalVersion = "20.04-beta";
static double renderTime = 1000000000.0 / 24;
public static SystemLibrary IO_LIB;
public static SystemComponent IO_MAIN_COMPONENT;
Expand Down Expand Up @@ -160,7 +160,6 @@ public void windowClosing(WindowEvent e) {

});
AudioSystem.play(new File("vfs/System/Resources/Audio/startup.wav"));
jEternal.setVisible(true);
if (Files.exists(Paths.get("vfs/System/account.uac"))) {
login = new LoginScreen();
jEternal.add(login);
Expand All @@ -171,7 +170,6 @@ public void windowClosing(WindowEvent e) {
jEternal.add(desktop);
init();
}
jEternal.dispose();
jEternal.setVisible(true);
Thread th = new Thread() {
@Override
Expand Down
7 changes: 7 additions & 0 deletions src/org/jeternal/internal/eef/js/UI.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ public void setFullscreenMode(int i, DisplayMode req) {
Jeternal.jEternal.setUndecorated(true);
Jeternal.jEternal.setVisible(true);
Jeternal.jEternal.setExtendedState(JFrame.MAXIMIZED_BOTH);
} else {
if (Jeternal.jEternal.isUndecorated()) {
Jeternal.jEternal.dispose();
Jeternal.jEternal.setUndecorated(false);
Jeternal.jEternal.setVisible(true);
Jeternal.jEternal.setExtendedState(JFrame.NORMAL);
}
}
}
if (i != 1) {
Expand Down

0 comments on commit 9111eed

Please sign in to comment.