Compare commits

...

2 Commits

Author SHA1 Message Date
Lenheart ddc2c68c55 Merge branch 'master' of http://192.168.200.25:3000/Lenheart/MXD-Server 2025-03-13 21:22:26 +08:00
Lenheart d5ad54d7e9 no message 2025-03-13 21:22:16 +08:00
20 changed files with 843 additions and 1 deletions

View File

@ -8,5 +8,9 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="lib" level="project" />
<orderEntry type="library" name="JGoodies Forms" level="project" />
<orderEntry type="library" name="MigLayout" level="project" />
<orderEntry type="library" name="TableLayout" level="project" />
<orderEntry type="library" name="IntelliJ IDEA GridLayout" level="project" />
</component>
</module>

BIN
lib/TableLayout-javadoc.jar Normal file

Binary file not shown.

BIN
lib/TableLayout-src.jar Normal file

Binary file not shown.

BIN
lib/TableLayout.jar Normal file

Binary file not shown.

BIN
lib/intellij_forms_rt.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/jgoodies-common.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/jgoodies-forms.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/miglayout-core.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/miglayout-swing.jar Normal file

Binary file not shown.

View File

@ -5,7 +5,23 @@
package gui.UI_LenheartUI;
import java.awt.*;
import java.awt.event.*;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.table.*;
import com.intellij.uiDesigner.core.*;
import com.jgoodies.forms.factories.*;
import com.jgoodies.forms.layout.*;
import database.DBConPool;
import info.clearthought.layout.*;
import net.miginfocom.swing.*;
import server.MapleItemInformationProvider;
import server.life.MapleLifeFactory;
import tools.FileoutputUtil;
/**
* @author dongj
@ -15,12 +31,422 @@ public class ExplosiveControl extends JPanel {
initComponents();
}
private void 加载刷新怪物卡片(ActionEvent e) {
for (int i = ((DefaultTableModel) (DefaultTableModel) this.table2.getModel()).getRowCount() - 1; i >= 0; --i) {
((DefaultTableModel) (DefaultTableModel) this.table2.getModel()).removeRow(i);
}
try {
final Connection con = (Connection) DBConPool.getInstance().getDataSource().getConnection();
PreparedStatement ps = null;
ResultSet rs = null;
ps = con.prepareStatement("SELECT * FROM drop_data WHERE itemid >=2380000&& itemid <2390000");
rs = ps.executeQuery();
while (rs.next()) {
((DefaultTableModel) this.table2.getModel()).insertRow(this.table2.getRowCount(), new Object[]{Integer.valueOf(rs.getInt("id")), Integer.valueOf(rs.getInt("dropperid")), MapleItemInformationProvider.getInstance().getName(rs.getInt("itemid")), Integer.valueOf(rs.getInt("itemid")), Integer.valueOf(rs.getInt("chance"))});
}
rs.close();
ps.close();
con.close();
} catch (SQLException ex) {
System.err.println("[" + FileoutputUtil.CurrentReadable_Time() + "]刷新出错:" + ex.getMessage());
}
}
public void 刷新怪物爆物(final int type) {
for (int i = ((DefaultTableModel) (DefaultTableModel) this.table2.getModel()).getRowCount() - 1; i >= 0; --i) {
((DefaultTableModel) (DefaultTableModel) this.table2.getModel()).removeRow(i);
}
try {
final Connection con = (Connection) DBConPool.getInstance().getDataSource().getConnection();
PreparedStatement ps = null;
ResultSet rs = null;
switch (type) {
case 0: {
ps = con.prepareStatement("SELECT * FROM drop_data WHERE itemid !=0");
rs = ps.executeQuery();
break;
}
case 1: {
ps = con.prepareStatement("SELECT * FROM drop_data WHERE itemid = ?");
ps.setInt(1, Integer.valueOf(this.物品ID查询掉落.getText()).intValue());
rs = ps.executeQuery();
break;
}
case 2: {
ps = con.prepareStatement("SELECT * FROM drop_data WHERE dropperid = ?");
ps.setInt(1, Integer.valueOf(this.怪物ID查询掉落.getText()).intValue());
rs = ps.executeQuery();
break;
}
}
while (rs.next()) {
String dropperid = "未知名字";
try {
dropperid = MapleLifeFactory.getMonster(Integer.valueOf(rs.getInt("dropperid"))).getStats().getName();
}catch (Exception e) {}
((DefaultTableModel) this.table2.getModel()).insertRow(this.table2.getRowCount(), new Object[]{Integer.valueOf(rs.getInt("id")),dropperid, Integer.valueOf(rs.getInt("dropperid")), MapleItemInformationProvider.getInstance().getName(rs.getInt("itemid")), Integer.valueOf(rs.getInt("itemid")), Integer.valueOf(rs.getInt("chance"))});
}
rs.close();
ps.close();
con.close();
} catch (SQLException ex) {
System.err.println("[" + FileoutputUtil.CurrentReadable_Time() + "]怪物暴率出错:" + ex.getMessage());
}
}
private void 刷新怪物爆物数据(ActionEvent e) {
刷新怪物爆物(0);
}
public void SetRightL(JTable tableobj){
DefaultTableModel tableModel = (DefaultTableModel)tableobj.getModel();
// 创建一个自定义的单元格渲染器用于右对齐字符串
DefaultTableCellRenderer rightRenderer = new DefaultTableCellRenderer();
rightRenderer.setHorizontalAlignment(JLabel.RIGHT);
// 遍历表格的所有列将字符串类型的列设置为右对齐
for (int i = 0; i < tableobj.getColumnCount(); i++) {
if (tableobj.getColumnClass(i) == String.class) {
tableobj.getColumnModel().getColumn(i).setCellRenderer(rightRenderer);
}
}
}
private void initComponents() {
// JFormDesigner - Component initialization - DO NOT MODIFY //GEN-BEGIN:initComponents @formatter:off
panel1 = new JPanel();
button9 = new JButton();
button10 = new JButton();
panel2 = new JPanel();
button11 = new JButton();
panel3 = new JPanel();
textField1 = new JTextField();
textField2 = new JTextField();
button13 = new JButton();
button14 = new JButton();
panel4 = new JPanel();
物品ID查询掉落 = new JTextField();
button15 = new JButton();
textField4 = new JTextField();
button16 = new JButton();
怪物ID查询掉落 = new JTextField();
button17 = new JButton();
textField6 = new JTextField();
button18 = new JButton();
label1 = new JLabel();
label2 = new JLabel();
label3 = new JLabel();
label4 = new JLabel();
panel5 = new JPanel();
scrollPane3 = new JScrollPane();
table2 = new JTable();
panel6 = new JPanel();
scrollPane1 = new JScrollPane();
table1 = new JTable();
button1 = new JButton();
button2 = new JButton();
button5 = new JButton();
button6 = new JButton();
button3 = new JButton();
button4 = new JButton();
button7 = new JButton();
button8 = new JButton();
button19 = new JButton();
//======== this ========
setLayout(null);
//======== panel1 ========
{
panel1.setBorder(new TitledBorder("\u5371\u9669\u64cd\u4f5c"));
panel1.setLayout(null);
//---- button9 ----
button9.setText("\u4e00\u952e\u6e05\u7a7a\u72ec\u7acb\u7206\u7387\u8868");
panel1.add(button9);
button9.setBounds(5, 30, 190, button9.getPreferredSize().height);
//---- button10 ----
button10.setText("\u4e00\u952e\u6e05\u7a7a\u5168\u5c40\u7206\u7387\u8868");
panel1.add(button10);
button10.setBounds(5, 60, 190, button10.getPreferredSize().height);
{
// compute preferred size
Dimension preferredSize = new Dimension();
for(int i = 0; i < panel1.getComponentCount(); i++) {
Rectangle bounds = panel1.getComponent(i).getBounds();
preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
}
Insets insets = panel1.getInsets();
preferredSize.width += insets.right;
preferredSize.height += insets.bottom;
panel1.setMinimumSize(preferredSize);
panel1.setPreferredSize(preferredSize);
}
}
add(panel1);
panel1.setBounds(25, 5, 200, 105);
//======== panel2 ========
{
panel2.setBorder(new TitledBorder("\u602a\u7269\u5361\u7247"));
panel2.setLayout(null);
//---- button11 ----
button11.setText("\u52a0\u8f7d\u5237\u65b0\u602a\u7269\u5361\u7247");
button11.addActionListener(e -> 加载刷新怪物卡片(e));
panel2.add(button11);
button11.setBounds(5, 19, 190, button11.getPreferredSize().height);
{
// compute preferred size
Dimension preferredSize = new Dimension();
for(int i = 0; i < panel2.getComponentCount(); i++) {
Rectangle bounds = panel2.getComponent(i).getBounds();
preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
}
Insets insets = panel2.getInsets();
preferredSize.width += insets.right;
preferredSize.height += insets.bottom;
panel2.setMinimumSize(preferredSize);
panel2.setPreferredSize(preferredSize);
}
}
add(panel2);
panel2.setBounds(25, 120, 200, 65);
//======== panel3 ========
{
panel3.setBorder(new TitledBorder("\u5feb\u6377\u6e05\u7406\u6240\u6709\u7206\u7387"));
panel3.setLayout(null);
panel3.add(textField1);
textField1.setBounds(10, 35, 115, textField1.getPreferredSize().height);
panel3.add(textField2);
textField2.setBounds(10, 80, 115, textField2.getPreferredSize().height);
//---- button13 ----
button13.setText("\u6e05\u7406");
panel3.add(button13);
button13.setBounds(130, 35, 58, 25);
//---- button14 ----
button14.setText("\u6e05\u7406");
panel3.add(button14);
button14.setBounds(130, 80, 58, 25);
{
// compute preferred size
Dimension preferredSize = new Dimension();
for(int i = 0; i < panel3.getComponentCount(); i++) {
Rectangle bounds = panel3.getComponent(i).getBounds();
preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
}
Insets insets = panel3.getInsets();
preferredSize.width += insets.right;
preferredSize.height += insets.bottom;
panel3.setMinimumSize(preferredSize);
panel3.setPreferredSize(preferredSize);
}
}
add(panel3);
panel3.setBounds(25, 200, 200, 125);
//======== panel4 ========
{
panel4.setBorder(new TitledBorder("\u5feb\u6377\u67e5\u8be2"));
panel4.setLayout(null);
panel4.add(物品ID查询掉落);
物品ID查询掉落.setBounds(10, 45, 115, 物品ID查询掉落.getPreferredSize().height);
//---- button15 ----
button15.setText("\u67e5\u8be2");
panel4.add(button15);
button15.setBounds(130, 45, 58, 25);
panel4.add(textField4);
textField4.setBounds(10, 115, 115, textField4.getPreferredSize().height);
//---- button16 ----
button16.setText("\u67e5\u8be2");
panel4.add(button16);
button16.setBounds(130, 115, 58, 25);
panel4.add(怪物ID查询掉落);
怪物ID查询掉落.setBounds(10, 180, 115, 怪物ID查询掉落.getPreferredSize().height);
//---- button17 ----
button17.setText("\u67e5\u8be2");
panel4.add(button17);
button17.setBounds(130, 180, 58, 25);
panel4.add(textField6);
textField6.setBounds(10, 245, 115, textField6.getPreferredSize().height);
//---- button18 ----
button18.setText("\u67e5\u8be2");
panel4.add(button18);
button18.setBounds(130, 245, 58, 25);
//---- label1 ----
label1.setText("\u7269\u54c1ID\u67e5\u8be2\u6389\u843d");
panel4.add(label1);
label1.setBounds(new Rectangle(new Point(15, 25), label1.getPreferredSize()));
//---- label2 ----
label2.setText("\u7269\u54c1\u540d\u67e5\u8be2\u6389\u843d");
panel4.add(label2);
label2.setBounds(15, 91, 85, 17);
//---- label3 ----
label3.setText("\u602a\u7269ID\u67e5\u8be2\u6389\u843d");
panel4.add(label3);
label3.setBounds(15, 157, 85, 17);
//---- label4 ----
label4.setText("\u602a\u7269\u540d\u67e5\u8be2\u6389\u843d");
panel4.add(label4);
label4.setBounds(15, 223, 85, 17);
{
// compute preferred size
Dimension preferredSize = new Dimension();
for(int i = 0; i < panel4.getComponentCount(); i++) {
Rectangle bounds = panel4.getComponent(i).getBounds();
preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
}
Insets insets = panel4.getInsets();
preferredSize.width += insets.right;
preferredSize.height += insets.bottom;
panel4.setMinimumSize(preferredSize);
panel4.setPreferredSize(preferredSize);
}
}
add(panel4);
panel4.setBounds(25, 340, 200, 295);
//======== panel5 ========
{
panel5.setBorder(new TitledBorder("\u602a\u7269\u72ec\u7acb\u7206\u7387"));
panel5.setLayout(new GridLayout());
//======== scrollPane3 ========
{
//---- table2 ----
table2.setModel(new DefaultTableModel(
new Object[][] {
{null, null, null, null, null, null},
},
new String[] {
"\u5e8f\u53f7", "\u602a\u7269\u540d", "\u602a\u7269ID", "\u7269\u54c1\u540d", "\u7269\u54c1ID", "\u7206\u7387"
}
) {
Class<?>[] columnTypes = new Class<?>[] {
Integer.class, String.class, Integer.class, String.class, Integer.class, Integer.class
};
@Override
public Class<?> getColumnClass(int columnIndex) {
return columnTypes[columnIndex];
}
});
{
TableColumnModel cm = table2.getColumnModel();
cm.getColumn(1).setMinWidth(180);
cm.getColumn(3).setMinWidth(180);
}
scrollPane3.setViewportView(table2);
}
panel5.add(scrollPane3);
}
add(panel5);
panel5.setBounds(235, 5, 840, 620);
//======== panel6 ========
{
panel6.setBorder(new TitledBorder("\u5168\u5c40\u7206\u7387"));
panel6.setLayout(new GridLayout());
//======== scrollPane1 ========
{
scrollPane1.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
scrollPane1.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
//---- table1 ----
table1.setModel(new DefaultTableModel(
new Object[][] {
{null, null, null, null},
},
new String[] {
"\u5e8f\u53f7", "\u7269\u54c1\u540d", "\u7269\u54c1ID", "\u7206\u7387"
}
) {
Class<?>[] columnTypes = new Class<?>[] {
Integer.class, String.class, Integer.class, Integer.class
};
@Override
public Class<?> getColumnClass(int columnIndex) {
return columnTypes[columnIndex];
}
});
{
TableColumnModel cm = table1.getColumnModel();
cm.getColumn(0).setMaxWidth(50);
cm.getColumn(1).setMinWidth(180);
}
scrollPane1.setViewportView(table1);
}
panel6.add(scrollPane1);
}
add(panel6);
panel6.setBounds(1090, 5, 410, 620);
//---- button1 ----
button1.setText("\u65b0\u589e\u914d\u7f6e");
add(button1);
button1.setBounds(383, 625, 95, button1.getPreferredSize().height);
//---- button2 ----
button2.setText("\u5220\u9664\u914d\u7f6e");
add(button2);
button2.setBounds(491, 625, 95, 34);
//---- button5 ----
button5.setText("\u4e00\u952e\u5bfc\u5165");
add(button5);
button5.setBounds(599, 625, 95, 34);
//---- button6 ----
button6.setText("\u4e00\u952e\u5bfc\u51fa");
add(button6);
button6.setBounds(707, 625, 95, 34);
//---- button3 ----
button3.setText("\u65b0\u589e\u914d\u7f6e");
add(button3);
button3.setBounds(1090, 625, 95, 34);
//---- button4 ----
button4.setText("\u5220\u9664\u914d\u7f6e");
add(button4);
button4.setBounds(1195, 625, 95, 34);
//---- button7 ----
button7.setText("\u4e00\u952e\u5bfc\u5165");
add(button7);
button7.setBounds(1300, 625, 95, 34);
//---- button8 ----
button8.setText("\u4e00\u952e\u5bfc\u51fa");
add(button8);
button8.setBounds(1405, 625, 95, 34);
//---- button19 ----
button19.setText("\u5237\u65b0\u602a\u7269\u7206\u7269\u6570\u636e");
button19.addActionListener(e -> 刷新怪物爆物数据(e));
add(button19);
button19.setBounds(235, 625, 135, 34);
{
// compute preferred size
Dimension preferredSize = new Dimension();
@ -36,8 +462,50 @@ public class ExplosiveControl extends JPanel {
setPreferredSize(preferredSize);
}
// JFormDesigner - End of component initialization //GEN-END:initComponents @formatter:on
SetRightL(this.table1);
SetRightL(this.table2);
}
// JFormDesigner - Variables declaration - DO NOT MODIFY //GEN-BEGIN:variables @formatter:off
private JPanel panel1;
private JButton button9;
private JButton button10;
private JPanel panel2;
private JButton button11;
private JPanel panel3;
private JTextField textField1;
private JTextField textField2;
private JButton button13;
private JButton button14;
private JPanel panel4;
private JTextField 物品ID查询掉落;
private JButton button15;
private JTextField textField4;
private JButton button16;
private JTextField 怪物ID查询掉落;
private JButton button17;
private JTextField textField6;
private JButton button18;
private JLabel label1;
private JLabel label2;
private JLabel label3;
private JLabel label4;
private JPanel panel5;
private JScrollPane scrollPane3;
private JTable table2;
private JPanel panel6;
private JScrollPane scrollPane1;
private JTable table1;
private JButton button1;
private JButton button2;
private JButton button5;
private JButton button6;
private JButton button3;
private JButton button4;
private JButton button7;
private JButton button8;
private JButton button19;
// JFormDesigner - End of variables declaration //GEN-END:variables @formatter:on
}

View File

@ -5,9 +5,379 @@ new FormModel {
root: new FormRoot {
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class com.jformdesigner.runtime.NullLayout ) ) {
name: "this"
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class com.jformdesigner.runtime.NullLayout ) ) {
name: "panel1"
"border": new javax.swing.border.TitledBorder( "危险操作" )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button9"
"text": "一键清空独立爆率表"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 5
"y": 30
"width": 190
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button10"
"text": "一键清空全局爆率表"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 5
"y": 60
"width": 190
} )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 25
"y": 5
"width": 200
"height": 105
} )
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class com.jformdesigner.runtime.NullLayout ) ) {
name: "panel2"
"border": new javax.swing.border.TitledBorder( "怪物卡片" )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button11"
"text": "加载刷新怪物卡片"
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "加载刷新怪物卡片", true ) )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 5
"y": 19
"width": 190
} )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 200
"height": 65
"x": 25
"y": 120
} )
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class com.jformdesigner.runtime.NullLayout ) ) {
name: "panel3"
"border": new javax.swing.border.TitledBorder( "快捷清理所有爆率" )
add( new FormComponent( "javax.swing.JTextField" ) {
name: "textField1"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 10
"y": 35
"width": 115
} )
add( new FormComponent( "javax.swing.JTextField" ) {
name: "textField2"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 10
"y": 80
"width": 115
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button13"
"text": "清理"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 130
"y": 35
"height": 25
"width": 58
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button14"
"text": "清理"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 130
"y": 80
"height": 25
"width": 58
} )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 200
"height": 125
"x": 25
"y": 200
} )
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class com.jformdesigner.runtime.NullLayout ) ) {
name: "panel4"
"border": new javax.swing.border.TitledBorder( "快捷查询" )
add( new FormComponent( "javax.swing.JTextField" ) {
name: "物品ID查询掉落"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 115
"x": 10
"y": 45
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button15"
"text": "查询"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 58
"height": 25
"x": 130
"y": 45
} )
add( new FormComponent( "javax.swing.JTextField" ) {
name: "textField4"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 115
"x": 10
"y": 115
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button16"
"text": "查询"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 58
"height": 25
"x": 130
"y": 115
} )
add( new FormComponent( "javax.swing.JTextField" ) {
name: "怪物ID查询掉落"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 115
"x": 10
"y": 180
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button17"
"text": "查询"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 58
"height": 25
"x": 130
"y": 180
} )
add( new FormComponent( "javax.swing.JTextField" ) {
name: "textField6"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 115
"x": 10
"y": 245
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button18"
"text": "查询"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 58
"height": 25
"x": 130
"y": 245
} )
add( new FormComponent( "javax.swing.JLabel" ) {
name: "label1"
"text": "物品ID查询掉落"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 15
"y": 25
} )
add( new FormComponent( "javax.swing.JLabel" ) {
name: "label2"
"text": "物品名查询掉落"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 85
"height": 17
"x": 15
"y": 91
} )
add( new FormComponent( "javax.swing.JLabel" ) {
name: "label3"
"text": "怪物ID查询掉落"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 85
"height": 17
"x": 15
"y": 157
} )
add( new FormComponent( "javax.swing.JLabel" ) {
name: "label4"
"text": "怪物名查询掉落"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 85
"height": 17
"x": 15
"y": 223
} )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 200
"height": 295
"x": 25
"y": 340
} )
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class java.awt.GridLayout ) ) {
name: "panel5"
"border": new javax.swing.border.TitledBorder( "怪物独立爆率" )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane3"
add( new FormComponent( "javax.swing.JTable" ) {
name: "table2"
"model": new com.jformdesigner.model.SwingTableModel( new java.util.Vector {
add( new java.util.Vector {
add( null )
add( null )
add( null )
add( null )
add( null )
add( null )
} )
}, new java.util.Vector {
add( "序号" )
add( "怪物名" )
add( "怪物ID" )
add( "物品名" )
add( "物品ID" )
add( "爆率" )
}, new java.util.Vector {
add( class java.lang.Integer )
add( class java.lang.String )
add( class java.lang.Integer )
add( class java.lang.String )
add( class java.lang.Integer )
add( class java.lang.Integer )
}, new java.util.Vector {
add( null )
add( null )
add( null )
add( null )
add( null )
add( null )
}, new java.util.Vector {
add( null )
add( new com.jformdesigner.model.SwingTableColumn( null, 0, 180, 0, true ) )
add( null )
add( new com.jformdesigner.model.SwingTableColumn( null, 0, 180, 0, true ) )
add( null )
add( null )
} )
} )
} )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 840
"height": 620
"x": 235
"y": 5
} )
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class java.awt.GridLayout ) ) {
name: "panel6"
"border": new javax.swing.border.TitledBorder( "全局爆率" )
add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
name: "scrollPane1"
"horizontalScrollBarPolicy": 31
"verticalScrollBarPolicy": 21
add( new FormComponent( "javax.swing.JTable" ) {
name: "table1"
"model": new com.jformdesigner.model.SwingTableModel( new java.util.Vector {
add( new java.util.Vector {
add( null )
add( null )
add( null )
add( null )
} )
}, new java.util.Vector {
add( "序号" )
add( "物品名" )
add( "物品ID" )
add( "爆率" )
}, new java.util.Vector {
add( class java.lang.Integer )
add( class java.lang.String )
add( class java.lang.Integer )
add( class java.lang.Integer )
}, new java.util.Vector {
add( null )
add( null )
add( null )
add( null )
}, new java.util.Vector {
add( new com.jformdesigner.model.SwingTableColumn( null, 0, 0, 50, true ) )
add( new com.jformdesigner.model.SwingTableColumn( null, 0, 180, 0, true ) )
add( null )
add( null )
} )
} )
} )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 410
"height": 620
"x": 1090
"y": 5
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button1"
"text": "新增配置"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"x": 383
"y": 625
"width": 95
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button2"
"text": "删除配置"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 95
"height": 34
"x": 491
"y": 625
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button5"
"text": "一键导入"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 95
"height": 34
"x": 599
"y": 625
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button6"
"text": "一键导出"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 95
"height": 34
"x": 707
"y": 625
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button3"
"text": "新增配置"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 95
"height": 34
"x": 1090
"y": 625
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button4"
"text": "删除配置"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 95
"height": 34
"x": 1195
"y": 625
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button7"
"text": "一键导入"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 95
"height": 34
"x": 1300
"y": 625
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button8"
"text": "一键导出"
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 95
"height": 34
"x": 1405
"y": 625
} )
add( new FormComponent( "javax.swing.JButton" ) {
name: "button19"
"text": "刷新怪物爆物数据"
addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "刷新怪物爆物数据", true ) )
}, new FormLayoutConstraints( class com.jformdesigner.runtime.NullConstraints ) {
"width": 135
"height": 34
"x": 235
"y": 625
} )
}, new FormLayoutConstraints( null ) {
"location": new java.awt.Point( 0, 0 )
"size": new java.awt.Dimension( 400, 300 )
"size": new java.awt.Dimension( 1540, 675 )
} )
}
}