修改性能
This commit is contained in:
@@ -22,8 +22,6 @@
|
||||
|
||||
|
||||
<dependencies>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.fx</groupId>
|
||||
<artifactId>falsework-sever</artifactId>
|
||||
@@ -36,11 +34,9 @@
|
||||
<version>11.0.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>jfoenix</groupId>
|
||||
<groupId>com.jfoenix</groupId>
|
||||
<artifactId>jfoenix</artifactId>
|
||||
<version>${jfoenix.version}</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${pom.basedir}/libs/jfoenix-8.0.10.jar</systemPath>
|
||||
<version>8.0.10</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>tilesfx</groupId>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
package com.fx.client;
|
||||
|
||||
import com.fx.client.gui.uicomponents.control.LFXDecorator;
|
||||
import com.fx.client.gui.uicomponents.login.LoginController;
|
||||
import com.fx.client.store.ApplicatonStore;
|
||||
import com.fx.client.websocket.WSClient;
|
||||
import com.jfoenix.assets.JFoenixResources;
|
||||
import com.jfoenix.controls.JFXDecorator;
|
||||
import com.jfoenix.svg.SVGGlyph;
|
||||
import com.jfoenix.svg.SVGGlyphLoader;
|
||||
import com.netflix.config.ConfigurationManager;
|
||||
@@ -45,7 +45,7 @@ public class AppStartup extends Application {
|
||||
InputStream in = AppStartup.class.getClassLoader().getResourceAsStream("fonts/msyh.ttf");
|
||||
Font font1 = Font.loadFont(in, 12);
|
||||
|
||||
System.err.println(font1.getName() + "\t" + font1.getFamily());
|
||||
// System.err.println(font1.getName() + "\t" + font1.getFamily());
|
||||
ConfigurationManager.loadPropertiesFromResources("sample-client.properties");
|
||||
//
|
||||
|
||||
@@ -74,7 +74,7 @@ public class AppStartup extends Application {
|
||||
applicationContext.register("ContentFlowHandler", contentFlowHandler);
|
||||
contentFlowHandler.start(container);
|
||||
|
||||
LFXDecorator wfxDecorator = new LFXDecorator(stage, container.getView(), false, true, true);
|
||||
JFXDecorator wfxDecorator = new JFXDecorator(stage, container.getView());
|
||||
wfxDecorator.setCustomMaximize(true);
|
||||
wfxDecorator.setGraphic(new SVGGlyph(""));
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ public class LoginController {
|
||||
registeredPane.managedProperty().bind(registeredPane.visibleProperty());
|
||||
|
||||
initAnimation();
|
||||
// loadingImage();
|
||||
loadingImage();
|
||||
initAction();
|
||||
|
||||
}
|
||||
|
||||
@@ -115,8 +115,10 @@ public class Request {
|
||||
|
||||
@Override
|
||||
public LBClient create(String clientName) {
|
||||
System.err.println("--------------------"+clientName+"--------------------");
|
||||
IClientConfig config = ClientFactory.getNamedConfig(clientName);
|
||||
ILoadBalancer lb = ClientFactory.getNamedLoadBalancer(clientName);
|
||||
|
||||
ZoneAwareLoadBalancer zb = (ZoneAwareLoadBalancer) lb;
|
||||
zb.setRule(new BestAvailableRule());
|
||||
LBClient lbClient = LBClient.create(lb, config);
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user