Description: import java.awt.*
import java.awt.event.*
import javax.swing.*
import javax.swing.event.CaretListener
import javax.swing.event.CaretEvent
public class NumJFrame extends JFrame implements ActionListener
{
private JTextField text_ten,text_str1,text_two,text_str2,text_four,text_str3,text_eight,text_str4,text_sixth,text_str5
private MessageJDialog jdialog
private JButton button_ten,button_two,button_four,button_eight,button_sixth
public NumJFrame()
{
super("int整数多种进制相互转换")
this.setBounds(300,240,400,200)
this.setResizable(false)
this.setBackground(java.awt.Color.lightGray)
this.setDefaultCloseOperation(EXIT_ON_CLOSE)
this.getContentPane().setLayout(new GridLayout(4,3))
button_ten=new JButton("十进制")
button_ten.addActionListener(this)
text_ten.setHorizontalAlignment(JTextField.LEFT)
this.getContentPane().add(text_ten)
text_str1=new JTextField(50)
text_str1.setHorizontalAlignment(JTextField.LEFT)
text_str1.s
To Search:
File list (Check if you may need any files):
11.txt