📄 c.java
字号:
package com.hoya.games.sp;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.Frame;
import java.awt.Insets;
import javax.swing.BorderFactory;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JViewport;
import javax.swing.border.Border;
public final class C extends JDialog
{
JPanel a;
JPanel b;
JPanel c;
BorderLayout d;
JPanel e;
BorderLayout f;
JPanel g;
JPanel h;
Border i;
BorderLayout j;
BorderLayout k;
JPanel l;
BorderLayout m;
JLabel n;
BorderLayout o;
JScrollPane p;
public JTextArea q;
BorderLayout r;
Border s;
Border t;
public C(Frame paramFrame)
{
super(paramFrame, "", false);
this.a = new JPanel();
this.b = new JPanel();
this.c = new JPanel();
this.d = new BorderLayout();
this.e = new JPanel();
this.f = new BorderLayout();
this.g = new JPanel();
this.h = new JPanel();
this.i = BorderFactory.createEmptyBorder(5, 5, 5, 5);
this.j = new BorderLayout();
this.k = new BorderLayout();
this.l = new JPanel();
this.m = new BorderLayout();
this.n = new JLabel();
this.o = new BorderLayout();
this.p = new JScrollPane();
this.q = new JTextArea();
this.r = new BorderLayout();
this.s = BorderFactory.createEmptyBorder(5, 5, 5, 5);
this.t = BorderFactory.createEmptyBorder(5, 5, 5, 5);
try
{
a();
}
catch (Exception localException2)
{
Exception localException1;
(localException1 = localException2).printStackTrace();
}
pack();
xl.a(this, paramFrame);
}
public C()
{
this(null);
}
private void a()
throws Exception
{
this.b.setLayout(this.d);
this.c.setLayout(this.f);
this.e.setBorder(this.i);
this.e.setLayout(this.j);
this.h.setLayout(this.k);
this.h.setBackground(Color.lightGray);
this.g.setLayout(this.m);
this.l.setLayout(this.o);
this.q.setColumns(60);
this.q.setLineWrap(true);
this.q.setRows(12);
this.q.setBackground(Color.black);
this.q.setDisabledTextColor(Color.white);
this.q.setEditable(false);
this.q.setEnabled(false);
this.q.setMargin(new Insets(1, 5, 0, 5));
this.a.setLayout(this.r);
this.a.setBorder(this.s);
this.b.setBorder(this.t);
getContentPane().add(this.a, "Center");
this.p.getViewport().add(this.q);
getContentPane().add(this.b, "South");
this.b.add(this.c, "Center");
this.c.add(this.e, "Center");
this.e.add(this.h, "Center");
this.g.add(this.l, "Center");
this.g.add(this.n, "West");
this.a.add(this.p, "Center");
}
public final void a(String paramString)
{
String str;
if ((paramString == null) || (paramString.length() == 0))
return;
if ((str = this.q.getText()).indexOf(paramString) == -1)
this.q.append(paramString + "\n");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -