📄 w.java
字号:
package com.hoya.games.sp;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.FlowLayout;
import java.awt.Frame;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
public final class w extends JDialog
implements ActionListener
{
private Color z;
JPanel a;
JPanel b;
JPanel c;
JPanel d;
JPanel e;
JButton f;
JLabel g;
JLabel h;
JLabel i;
JLabel j;
BorderLayout k;
BorderLayout l;
FlowLayout m;
private String p;
private int q;
private String r;
private String w;
private String s;
private String t;
private String u;
private String v;
GridBagLayout n;
JLabel o;
public w(Frame paramFrame)
{
super(paramFrame, "About", true);
this.z = Color.white;
this.a = new JPanel();
this.b = new JPanel();
this.c = new JPanel();
this.d = new JPanel();
this.e = new JPanel();
this.f = new JButton();
this.g = new JLabel();
this.h = new JLabel();
this.i = new JLabel();
this.j = new JLabel();
this.k = new BorderLayout();
this.l = new BorderLayout();
this.m = new FlowLayout();
this.r = "BolaTangkas2 Client";
this.w = lx.aH;
this.s = "0.5.3 (build " + this.w.substring(2, 3) + "." + this.w.substring(3, 5) + "." + this.w.substring(5) + ")";
this.t = "Copyright (c) 2007";
this.u = "Logged as ";
this.v = "Credits : ";
this.n = new GridBagLayout();
this.o = new JLabel();
try
{
setDefaultCloseOperation(2);
a();
return;
}
catch (Exception localException2)
{
Exception localException1;
(localException1 = localException2).printStackTrace();
}
}
public w()
{
this(null);
}
private void a()
throws Exception
{
if (lx.aS == 4)
this.r = ((lx.aS == 2) ? "dermaga Client" : "www.8mgm8.com");
this.a.setLayout(this.k);
this.b.setLayout(this.l);
this.c.setLayout(this.m);
this.d.setLayout(this.m);
this.d.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
this.g.setText(this.r);
this.h.setText(this.s);
this.i.setText(this.t);
this.j.setText(this.u + this.p);
this.e.setLayout(this.n);
this.e.setBorder(BorderFactory.createEmptyBorder(10, 60, 10, 10));
this.f.setText("OK");
this.f.addActionListener(this);
this.o.setText(this.v + this.q);
this.b.add(this.d, "West");
getContentPane().add(this.a, null);
this.b.add(this.e, "Center");
this.c.add(this.f, null);
this.a.add(this.c, "South");
this.a.add(this.b, "North");
this.e.add(this.g, new GridBagConstraints(0, 0, 1, 1, 0D, 0D, 17, 0, new Insets(0, 0, 0, 0), 198, 0));
this.e.add(this.h, new GridBagConstraints(0, 1, 1, 1, 0D, 0D, 17, 0, new Insets(0, 0, 0, 0), 244, 0));
this.e.add(this.i, new GridBagConstraints(0, 2, 1, 1, 0D, 0D, 17, 0, new Insets(0, 0, 0, 0), 142, 3));
this.e.add(this.j, new GridBagConstraints(0, 3, 1, 1, 0D, 0D, 17, 0, new Insets(0, 0, 0, 0), 0, 0));
this.e.add(this.o, new GridBagConstraints(0, 4, 1, 1, 0D, 0D, 17, 0, new Insets(0, 0, 0, 0), 0, 0));
setResizable(true);
if (lx.aS == 2)
{
this.c.setBackground(Color.black);
this.d.setBackground(Color.black);
this.e.setBackground(Color.black);
this.g.setForeground(this.z);
this.h.setForeground(this.z);
this.i.setForeground(this.z);
this.j.setForeground(this.z);
this.o.setForeground(this.z);
}
}
public final void actionPerformed(ActionEvent paramActionEvent)
{
if (paramActionEvent.getSource() == this.f)
dispose();
}
public final void a(String paramString)
{
this.p = paramString;
this.j.setText(this.u + paramString);
}
public final void a(int paramInt)
{
this.q = paramInt;
this.o.setText(this.v + paramInt);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -