Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

Client Hanabi 4.0 Crack (Runnable)

I'm not that good at java but what is this :



package com.sun.deploy.uitoolkit.impl.fx;

import com.sun.javafx.applet.HostServicesImpl;
import com.sun.javafx.application.HostServicesDelegate;
import java.io.File;
import java.net.URI;
import javafx.application.Application;
import netscape.javascript.JSObject;

public class HostServicesFactory {
public static HostServicesDelegate getInstance(Application paramApplication) {
HostServicesDelegate hostServicesDelegate = HostServicesImpl.getInstance(paramApplication);
if (hostServicesDelegate == null)
hostServicesDelegate = StandaloneHostService.getInstance(paramApplication);
return hostServicesDelegate;
}

private HostServicesFactory() {
throw new InternalError();
}

private static class StandaloneHostService extends HostServicesDelegate {
private static HostServicesDelegate instance = null;

private Class appClass = null;

public static HostServicesDelegate getInstance(Application param1Application) {
synchronized (StandaloneHostService.class) {
if (instance == null)
instance = new StandaloneHostService(param1Application);
return instance;
}
}

private StandaloneHostService(Application param1Application) {
this.appClass = param1Application.getClass();
}

public String getCodeBase() {
String str1 = this.appClass.getName();
int i = str1.lastIndexOf(".");
if (i >= 0)
str1 = str1.substring(i + 1);
str1 = str1 + ".class";
String str2 = this.appClass.getResource(str1).toString();
if (!str2.startsWith("jar:file:") || str2
.indexOf("!") == -1)
return "";
String str3 = str2.substring(4, str2
.lastIndexOf("!"));
File file = null;
try {
file = new File((new URI(str3)).getPath());
} catch (Exception exception) {}
if (file != null) {
String str = file.getParent();
if (str != null)
return toURIString(str);
}
return "";
}

private String toURIString(String param1String) {
try {
return (new File(param1String)).toURI().toString();
} catch (Exception exception) {
exception.printStackTrace();
return "";
}
}

public String getDocumentBase() {
return toURIString(System.getProperty("user.dir"));
}

static final String[] browsers = new String[] { "google-chrome", "firefox", "opera", "konqueror", "mozilla" };

public void showDocument(String param1String) {
String str = System.getProperty("os.name");
try {
if (str.startsWith("Mac OS")) {
Class.forName("com.apple.eio.FileManager").getDeclaredMethod("openURL", new Class[] { String.class }).invoke(null, new Object[] { param1String });
} else if (str.startsWith("Windows")) {
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + param1String);
} else {
String str1 = null;
for (String str2 : browsers) {
if (str1 == null && Runtime.getRuntime().exec(new String[] { "which", str2 }).getInputStream().read() != -1)
Runtime.getRuntime().exec(new String[] { str1 = str2, param1String });
}
if (str1 == null)
throw new Exception("No web browser found");
}
} catch (Exception exception) {
exception.printStackTrace();
}
}

public JSObject getWebContext() {
return null;
}
}
}
 
I'm not that good at java but what is this :



package com.sun.deploy.uitoolkit.impl.fx;

import com.sun.javafx.applet.HostServicesImpl;
import com.sun.javafx.application.HostServicesDelegate;
import java.io.File;
import java.net.URI;
import javafx.application.Application;
import netscape.javascript.JSObject;

public class HostServicesFactory {
public static HostServicesDelegate getInstance(Application paramApplication) {
HostServicesDelegate hostServicesDelegate = HostServicesImpl.getInstance(paramApplication);
if (hostServicesDelegate == null)
hostServicesDelegate = StandaloneHostService.getInstance(paramApplication);
return hostServicesDelegate;
}

private HostServicesFactory() {
throw new InternalError();
}

private static class StandaloneHostService extends HostServicesDelegate {
private static HostServicesDelegate instance = null;

private Class appClass = null;

public static HostServicesDelegate getInstance(Application param1Application) {
synchronized (StandaloneHostService.class) {
if (instance == null)
instance = new StandaloneHostService(param1Application);
return instance;
}
}

private StandaloneHostService(Application param1Application) {
this.appClass = param1Application.getClass();
}

public String getCodeBase() {
String str1 = this.appClass.getName();
int i = str1.lastIndexOf(".");
if (i >= 0)
str1 = str1.substring(i + 1);
str1 = str1 + ".class";
String str2 = this.appClass.getResource(str1).toString();
if (!str2.startsWith("jar:file:") || str2
.indexOf("!") == -1)
return "";
String str3 = str2.substring(4, str2
.lastIndexOf("!"));
File file = null;
try {
file = new File((new URI(str3)).getPath());
} catch (Exception exception) {}
if (file != null) {
String str = file.getParent();
if (str != null)
return toURIString(str);
}
return "";
}

private String toURIString(String param1String) {
try {
return (new File(param1String)).toURI().toString();
} catch (Exception exception) {
exception.printStackTrace();
return "";
}
}

public String getDocumentBase() {
return toURIString(System.getProperty("user.dir"));
}

static final String[] browsers = new String[] { "google-chrome", "firefox", "opera", "konqueror", "mozilla" };

public void showDocument(String param1String) {
String str = System.getProperty("os.name");
try {
if (str.startsWith("Mac OS")) {
Class.forName("com.apple.eio.FileManager").getDeclaredMethod("openURL", new Class[] { String.class }).invoke(null, new Object[] { param1String });
} else if (str.startsWith("Windows")) {
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + param1String);
} else {
String str1 = null;
for (String str2 : browsers) {
if (str1 == null && Runtime.getRuntime().exec(new String[] { "which", str2 }).getInputStream().read() != -1)
Runtime.getRuntime().exec(new String[] { str1 = str2, param1String });
}
if (str1 == null)
throw new Exception("No web browser found");
}
} catch (Exception exception) {
exception.printStackTrace();
}
}

public JSObject getWebContext() {
return null;
}
}
}
:ROFLMAO:
 
I'm not that good at java but what is this :



package com.sun.deploy.uitoolkit.impl.fx;

import com.sun.javafx.applet.HostServicesImpl;
import com.sun.javafx.application.HostServicesDelegate;
import java.io.File;
import java.net.URI;
import javafx.application.Application;
import netscape.javascript.JSObject;

public class HostServicesFactory {
public static HostServicesDelegate getInstance(Application paramApplication) {
HostServicesDelegate hostServicesDelegate = HostServicesImpl.getInstance(paramApplication);
if (hostServicesDelegate == null)
hostServicesDelegate = StandaloneHostService.getInstance(paramApplication);
return hostServicesDelegate;
}

private HostServicesFactory() {
throw new InternalError();
}

private static class StandaloneHostService extends HostServicesDelegate {
private static HostServicesDelegate instance = null;

private Class appClass = null;

public static HostServicesDelegate getInstance(Application param1Application) {
synchronized (StandaloneHostService.class) {
if (instance == null)
instance = new StandaloneHostService(param1Application);
return instance;
}
}

private StandaloneHostService(Application param1Application) {
this.appClass = param1Application.getClass();
}

public String getCodeBase() {
String str1 = this.appClass.getName();
int i = str1.lastIndexOf(".");
if (i >= 0)
str1 = str1.substring(i + 1);
str1 = str1 + ".class";
String str2 = this.appClass.getResource(str1).toString();
if (!str2.startsWith("jar:file:") || str2
.indexOf("!") == -1)
return "";
String str3 = str2.substring(4, str2
.lastIndexOf("!"));
File file = null;
try {
file = new File((new URI(str3)).getPath());
} catch (Exception exception) {}
if (file != null) {
String str = file.getParent();
if (str != null)
return toURIString(str);
}
return "";
}

private String toURIString(String param1String) {
try {
return (new File(param1String)).toURI().toString();
} catch (Exception exception) {
exception.printStackTrace();
return "";
}
}

public String getDocumentBase() {
return toURIString(System.getProperty("user.dir"));
}

static final String[] browsers = new String[] { "google-chrome", "firefox", "opera", "konqueror", "mozilla" };

public void showDocument(String param1String) {
String str = System.getProperty("os.name");
try {
if (str.startsWith("Mac OS")) {
Class.forName("com.apple.eio.FileManager").getDeclaredMethod("openURL", new Class[] { String.class }).invoke(null, new Object[] { param1String });
} else if (str.startsWith("Windows")) {
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + param1String);
} else {
String str1 = null;
for (String str2 : browsers) {
if (str1 == null && Runtime.getRuntime().exec(new String[] { "which", str2 }).getInputStream().read() != -1)
Runtime.getRuntime().exec(new String[] { str1 = str2, param1String });
}
if (str1 == null)
throw new Exception("No web browser found");
}
} catch (Exception exception) {
exception.printStackTrace();
}
}

public JSObject getWebContext() {
return null;
}
}
}
this is included with java 7
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top