📄 .#merg64913cvs
字号:
/*
* BalanceSheetFrame.java
*
* Created on 2007年5月11日, 上午2:02
*/
package frames;
/**
*
* @author mj
*/
public class BalanceSheetFrame extends javax.swing.JInternalFrame {
/**
* Creates new form BalanceSheetFrame
*/
public BalanceSheetFrame() {
initComponents();
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
// <editor-fold defaultstate="collapsed" desc=" 生成的代码 ">//GEN-BEGIN:initComponents
private void initComponents() {
jButton1 = new javax.swing.JButton();
jScrollPane1 = new javax.swing.JScrollPane();
jTable1 = new javax.swing.JTable();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel3 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
setClosable(true);
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setIconifiable(true);
setMaximizable(true);
setTitle("\u8d44\u4ea7\u8d1f\u503a\u8868");
jButton1.setText("\u786e\u5b9a");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
}
});
jScrollPane1.setHorizontalScrollBarPolicy(javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
jScrollPane1.setVerticalScrollBarPolicy(javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
jScrollPane1.setAutoscrolls(true);
jScrollPane1.setEnabled(false);
jTable1.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{"流动资产:", null, null, null, "流动负债:", null, null, null},
{" 货币资金", " 1", null, null, " 短期借款", " 42", null, null},
{" 短期投资", " 2", null, null, " 应付票据", " 43", null, null},
{" 应收票据", " 5", null, null, " 应付帐款", " 44", null, null},
{" 应收股利", " 6", null, null, " 预收帐款", " 45", null, null},
{" 应收利息", " 7", null, null, " 应付工资", " 47", null, null},
{" 应收帐款", " 10", null, null, " 应付福利费", " 48", null, null},
{" 其他应收款", " 11", null, null, " 应付股利", " 49", null, null},
{" 预付帐款", " 12", null, null, " 应交税金", " 50", null, null},
{" 应收补贴款", " 13", null, null, " 其他应交款", " 51", null, null},
{" 存货", " 16", null, null, " 其他应付款", " 52", null, null},
{" 待摊费用", " 17", null, null, " 预提费用", " 53", null, null},
{" 年内到期长期债券", " 19", null, null, " 预计负债", " 54", null, null},
{" 其他流动资产", " 20", null, null, " 年内到期长期负债", " 55", null, null},
{" 流动资产合计", " 21", null, null, " 其他流动负债", " 56", null, null},
{null, null, null, null, null, null, null, null},
{"长期投资:", "", null, null, null, null, null, null},
{" 长期股权投资", " 22", null, null, null, null, null, null},
{" 长期债务投资", " 23", null, null, null, null, null, null},
{" 长期投资合计", " 24", null, null, null, null, null, null},
{null, null, null, null, " 流动负债合计", " 57", null, null},
{null, null, null, null, null, null, null, null},
{"固定资产:", null, null, null, "长期负债:", "", null, null},
{" 固定资产原值", " 27", null, null, " 长期借款", " 58", null, null},
{" 减:累积折旧", " 28", null, null, " 应付债券", " 59", null, null},
{" 固定资产净值", " 29", null, null, " 长期应付款", " 60", null, null},
{" 减:固定资产减值准备", null, null, null, " 其他长期负债", " 61", null, null},
{" 固定资产净额", null, null, null, null, null, null, null},
{" 工程物资", " 30", null, null, null, null, null, null},
{" 在建工程", " 31", null, null, " 长期负债合计", " 62", null, null},
{" 固定资产清理", " 32", null, null, "递延税项", null, null, null},
{"", null, null, null, " 递延税款贷项", " 63", null, null},
{" 固定资产合计", " 34", null, null, null, null, null, null},
{null, null, null, null, " 负债合计", " 64", null, null},
{null, null, null, null, "股东权益:", null, null, null},
{null, null, null, null, " 股本", " 65", null, null},
{" 无形资产及其他资产:", null, null, null, " 资本公积", " 66", null, null},
{" 无形资产", " 35", null, null, " 盈余公积", " 67", null, null},
{" 长期待摊费用", " 37", null, null, " 其中:法定公益金", " 68", null, null},
{" 其他长期资产", " 38", null, null, " 未分配利润", " 69", null, null},
{"无形资产及其他资产合计", " 39", null, null, null, null, null, null},
{null, null, null, null, null, null, null, null},
{"递延税项", null, null, null, null, null, null, null},
{" 递延税款借项", " 40", null, null, " 股东权益合计", " 70", null, null},
{" 资产合计", " 41", null, null, " 负债及股东权益总计", " 75", null, null}
},
new String [] {
"资产", "行次", "年初数", "年末数", "负债及股东权益", "行次", "年初数", "年末数"
}
) {
boolean[] canEdit = new boolean [] {
false, false, true, true, false, false, true, true
};
public boolean isCellEditable(int rowIndex, int columnIndex) {
return canEdit [columnIndex];
}
});
jTable1.setEnabled(false);
jScrollPane1.setViewportView(jTable1);
jButton2.setText("\u53e6\u5b58\u4e3a...");
jButton3.setText("\u6253\u5370");
jLabel1.setFont(new java.awt.Font("宋体", 0, 18));
jLabel1.setText("\u9152\u5e97\u8d44\u4ea7\u8d1f\u503a\u8868");
jLabel1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
jLabel2.setText("\u7f16\u5236\u5355\u4f4d\uff1a");
jLabel3.setText("XX\u9152\u5e97");
jLabel4.setText("2006\u5e7412\u670831\u65e5");
jLabel5.setText("\u5355\u4f4d\uff1a\u5343\u5143");
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.addContainerGap()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 644, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
.add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 146, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.add(87, 87, 87)
.add(jButton2)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jButton3))))
.add(layout.createSequentialGroup()
.add(295, 295, 295)
.add(jButton1))
.add(layout.createSequentialGroup()
.addContainerGap()
.add(jLabel2)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jLabel3)
.add(180, 180, 180)
.add(jLabel4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 103, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 199, Short.MAX_VALUE)
.add(jLabel5)))
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(layout.createSequentialGroup()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
.add(layout.createSequentialGroup()
.add(32, 32, 32)
.add(jLabel1)
.add(16, 16, 16)
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE, false)
.add(jLabel2)
.add(jLabel3)
.add(jLabel5)
.add(jLabel4)))
.add(layout.createSequentialGroup()
.addContainerGap()
.add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jButton3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(jButton2))))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 428, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jButton1)
.addContainerGap())
);
pack();
}// </editor-fold>//GEN-END:initComponents
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt)//GEN-FIRST:event_jButton1ActionPerformed
{//GEN-HEADEREND:event_jButton1ActionPerformed
this.dispose();
// TODO 将在此处添加您的处理代码:
}//GEN-LAST:event_jButton1ActionPerformed
// 变量声明 - 不进行修改//GEN-BEGIN:variables
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
// 变量声明结束//GEN-END:variables
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -