文件名称:11
介绍说明--下载内容均来自于网络,请自行研究使用
整数多种进制形式相互转换,指定一种整数类型,以一种进制形式输入一个整数,将其及负数分别转换成其他进制形式显示-import java.awt.*
import java.awt.event.*
import javax.swing.*
import javax.swing.event.CaretListener
import javax.swing.event.CaretEvent
public class NumJfr a me extends Jfr a me 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 NumJfr a me()
{
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
import java.awt.event.*
import javax.swing.*
import javax.swing.event.CaretListener
import javax.swing.event.CaretEvent
public class NumJfr a me extends Jfr a me 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 NumJfr a me()
{
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
11.txt