package com.vci.client.logon.base;
|
|
import java.awt.BorderLayout;
|
import java.awt.Dimension;
|
import java.awt.Frame;
|
import java.awt.event.WindowEvent;
|
|
import javax.swing.JLabel;
|
import javax.swing.JPanel;
|
|
import com.vci.client.ui.image.BundleImage;
|
import com.vci.client.ui.locale.LocaleDisplay;
|
public class AboutCODE extends BaseJDialog {
|
private static final long serialVersionUID = 1L;
|
JPanel jPanel1 = new JPanel();
|
BorderLayout borderLayout1 = new BorderLayout();
|
JLabel imageLabel = new JLabel();
|
|
public AboutCODE(Frame frame) {
|
super(frame,null,true);
|
try {
|
jbInit();
|
}
|
catch(Exception e) {
|
|
}
|
}
|
private void jbInit() throws Exception {
|
this.setModal(true);
|
this.setSize(new Dimension(780,470));
|
this.addWindowListener(new java.awt.event.WindowAdapter() {
|
public void windowClosing(WindowEvent e) {
|
this_windowClosing(e);
|
}
|
});
|
this.setResizable(false);
|
String systenName = getI18nString("rmip.framework.system.name", "RMIPFramework");
|
this.setTitle(systenName);
|
jPanel1.setLayout(borderLayout1);
|
imageLabel.setIcon(new BundleImage().createImageIcon ("introuduce.gif"));
|
this.getContentPane().add(jPanel1, BorderLayout.CENTER);
|
jPanel1.add(imageLabel, BorderLayout.NORTH);
|
}
|
public void this_windowClosing(WindowEvent e) {
|
this.dispose();
|
}
|
private String getI18nString(String keyCode, String fileName) {
|
return LocaleDisplay.getI18nString(keyCode, fileName, this.getLocale());
|
}
|
}
|