swing组合知道这个人是谁啊 韩国歌手
swing组合 时间:2021-05-29 阅读:(
)
用java编写一个登录界面,用SWING组件
import java.awt.Color;
import java.awt.Point;
import java.awt.Toolkit;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import javax.swing.BorderFactory;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JRadioButton;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.ListSelectionModel;
/**
* 一个简单的Swing窗口,输入内容单击“确定”按钮后,在文本域中显示输入的内容。
* 单击“取消”按钮,清空页面内容。
* @author yzg
*
*/
public class Register extends JFrame {
private static final long serialVersionUID = 1L;
private JLabel nameLabel;
private JTextArea context;
private JTextField name;
private JLabel pLabel;
JList speciality;
JLabel mLabel;
String[] data = { "计算机", "英语", "机械", "化工" };
ButtonGroup bg;
JRadioButton male;
JRadioButton female;
JLabel fLabel;
JCheckBox faverite1;
JCheckBox faverite2;
JCheckBox faverite3;
JCheckBox faverite4;
public Register(String title) {
super(title);
this.getContentPane().setLayout(null);
// 下面两行是取得屏幕的高度和宽度
double lx = Toolkit.getDefaultToolkit().getScreenSize().getWidth();
double ly = Toolkit.getDefaultToolkit().getScreenSize().getHeight();
this.setLocation(new Point((int) (lx / 2) - 150, (int) (ly / 2) - 200));// 设定窗口出现位置
this.setSize(340, 440);// 设定窗口大小
}
public void showWin() {
// 确保窗体有一个好的外观装饰
// setDefaultLookAndFeelDecorated(true);
this.setDefaultCloseOperation(EXIT_ON_CLOSE);
// 姓名
nameLabel = new JLabel("姓名 :");
nameLabel.setBounds(30, 10, 50, 25);
name = new JTextField();
name.setBounds(80, 10, 120, 20);
name.setBorder(BorderFactory.createLineBorder(Color.BLUE));
name.addKeyListener(new KeyListener() {
public void keyPressed(KeyEvent e) {
}
public void keyReleased(KeyEvent e) {
}
public void keyTyped(KeyEvent e) {
if (name.getText().length() > 6) {
name.setText(name.getText().substring(0, 6));
}
}
});
// 专业 组合框
pLabel = new JLabel("专业 :");
pLabel.setBounds(30, 40, 50, 25);
speciality = new JList(data);
speciality.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
speciality.setBounds(80, 40, 80, 85);
speciality.setBorder(BorderFactory.createLineBorder(Color.GREEN));
mLabel = new JLabel("性别 :");
mLabel.setBounds(30, 130, 50, 25);
// 性别 单选框
bg = new ButtonGroup();
male = new JRadioButton("男");
female = new JRadioButton("女");
bg.add(male);
bg.add(female);
male.setBounds(80, 130, 60, 25);
female.setBounds(140, 130, 60, 25);
fLabel = new JLabel("爱好 :");
fLabel.setBounds(30, 160, 50, 25);
// 爱好 复选框
faverite1 = new JCheckBox("音乐");
faverite2 = new JCheckBox("足球");
faverite3 = new JCheckBox("高尔夫");
faverite4 = new JCheckBox("游戏");
faverite1.setBounds(80, 160, 60, 25);
faverite2.setBounds(140, 160, 60, 25);
faverite3.setBounds(200, 160, 65, 25);
faverite4.setBounds(265, 160, 60, 25);
// 内容 文本区域
JLabel conLabel = new JLabel("输入的内容 :");
conLabel.setBounds(30, 250, 90, 25);
context = new JTextArea();
context.setBounds(30, 270, 260, 100);
context.setBorder(BorderFactory.createLineBorder(Color.black));
// 确定按钮
JButton ok = new JButton("确定");
ok.setBounds(50, 190, 60, 25);
ok.addMouseListener(new MouseListener() {
public void mouseClicked(MouseEvent e) {
StringBuffer sb = new StringBuffer();
sb.append(nameLabel.getText()).append(name.getText());
sb.append("
");
int index = speciality.getSelectedIndex();
if (index >= 0) {
sb.append(pLabel.getText()).append(data[index]);
} else {
sb.append(pLabel.getText());
}
sb.append("
");
sb.append(mLabel.getText());
if (male.isSelected()) {
sb.append("男");
}
if (female.isSelected()) {
sb.append("女");
}
sb.append("
");
sb.append(fLabel.getText());
if (faverite1.isSelected()) {
sb.append("音乐 ");
}
if (faverite2.isSelected()) {
sb.append("足球 ");
}
if (faverite3.isSelected()) {
sb.append("高尔夫 ");
}
if (faverite4.isSelected()) {
sb.append("游戏 ");
}
context.setText(sb.toString());
}
public void mouseEntered(MouseEvent e) {
}
public void mouseExited(MouseEvent e) {
}
public void mousePressed(MouseEvent e) {
}
public void mouseReleased(MouseEvent e) {
}
});
// 取消按钮
JButton cancel = new JButton("取消");
cancel.setBounds(120, 190, 60, 25);
cancel.addMouseListener(new MouseListener() {
public void mouseClicked(MouseEvent e) {
name.setText("");
speciality.clearSelection();
if (faverite1.isSelected()) {
faverite1.setSelected(false);
}
if (faverite2.isSelected()) {
faverite2.setSelected(false);
}
if (faverite3.isSelected()) {
faverite3.setSelected(false);
}
if (faverite4.isSelected()) {
faverite4.setSelected(false);
}
context.setText("");
}
public void mouseEntered(MouseEvent e) {
}
public void mouseExited(MouseEvent e) {
}
public void mousePressed(MouseEvent e) {
}
public void mouseReleased(MouseEvent e) {
}
});
this.getContentPane().add(nameLabel);
this.getContentPane().add(name);
this.getContentPane().add(pLabel);
this.getContentPane().add(speciality);
this.getContentPane().add(mLabel);
this.getContentPane().add(male);
this.getContentPane().add(female);
this.getContentPane().add(fLabel);
this.getContentPane().add(faverite1);
this.getContentPane().add(faverite2);
this.getContentPane().add(faverite3);
this.getContentPane().add(faverite4);
this.getContentPane().add(conLabel);
this.getContentPane().add(context);
this.getContentPane().add(ok);
this.getContentPane().add(cancel);
// this.pack();
this.setVisible(true);
}
/**
* @param args
*/
public static void main(String[] args) {
Register reg = new Register("Register");
reg.showWin();
}
}Swing 韩国女子组合 是谁组合?还有什么歌曲?
Swing 《1st Album 》
01) Intro 02) You 03) ???..???..对不起..我爱你.. 04) Broken Heart 05) Raining 06) Again 1 07) Again 2 08) Go Go 09) ?? 执着 10) Everybody 11) Outro 12) You - Ballard Ver. 13) ???..???.. - Ballard Ver. 14) ???..???.. - Radio Edit
Swing《White Chocolate 白色巧克力》
01 White chocolate 白色巧克力
02 Hello
03 ????? 永远
04 Happy birthday韩国男组合有一首歌叫swing
哦,是super junior-M 的,挺好听的,还上过全球中文音乐榜上榜
这是链接/w_19rqy77ipx.html
还有super junior-M的资料/view/1520823.htm?fr=aladdin一个欧美的5个人的乐队,好像缩写是JVB,不确定,反正开头是J
JLS (Jack the Lad Swing) ?
不过是4个人的组合。
JLS“摇摆不定男生”(Jack the Lad Swing),英国男孩团体JLS是2008年的选秀大赛“X Factor”的亚军。
他们的首支单曲《Beat Again》在上榜第一周就实现了开门红,空降冠军。
成为英国UK单曲2009第29周的冠军。
去年12月,JLS组合是第五季The X Factor大赛的亚军,在获得亚军之后,他们并没有与评委、选秀界大鳄西蒙-考维尔(Simon Cowell)的Syco Music签约,而是选择了Epic公司旗下的SME。
今年春天,JLS组合一直在担任英国R&B歌手Lemar的巡演暖场嘉宾。
根据英国排行榜官方的统计数字显示,在上市第一周,这首《Beat Again》的销量达到了10万张,是今年英国唱片市场上市第一周销量最高的单曲,Lady GaGa的《Just Dance》和Pixie Lott的《Mama Do》在上市首周的销量都比不上它。
/view/2670078.html?wtp=tt知道这个人是谁啊 韩国歌手
你好,只知道这个女生是韩国女子组合Swing的成员,这个截图是出自SBS人气歌谣的Swing组合唱的《对不起,我爱你》里面的。
因为网上没有关于Swing组合的详细介绍,所以也不能确认她的名字。
这个组合后来进军中国乐坛,叫做Swing Girls,不过还是在网上找不到详细资料。
弘速云是创建于2021年的品牌,运营该品牌的公司HOSU LIMITED(中文名称弘速科技有限公司)公司成立于2021年国内公司注册于2019年。HOSU LIMITED主要从事出售香港VPS、美国VPS、香港独立服务器、香港站群服务器等,目前在售VPS线路有CN2+BGP、CN2 GIA,该公司旗下产品均采用KVM虚拟化架构。可联系商家代安装iso系统。国庆活动 优惠码:hosu10-1产品介绍...
速云怎么样?速云是一家国人商家。速云商家主要提供广州移动、深圳移动、广州茂名联通、香港HKT等VDS和独立服务器。目前,速云推出深圳独服优惠活动,机房为深圳移动机房,购买深圳服务器可享受5折优惠,目前独立服务器还支持申请免费试用,需要提交工单开通免费体验试用,次月可享受永久8折优惠,也是需工单申请哦!点击进入:速云官方网站地址活动期限至 2021年7月22日速云云服务器优惠活动:活动1:新购首月可...
官方网站:点击访问火数云活动官网活动方案:CPU内存硬盘带宽流量架构IP机房价格购买地址4核4G50G 高效云盘20Mbps独享不限openstack1个九江287元/月立即抢购4核8G50G 高效云盘20Mbps独享不限openstack1个九江329元/月立即抢购2核2G50G 高效云盘5Mbps独享不限openstack1个大连15.9元/月立即抢购2核4G50G 高效云盘5Mbps独享不限...
swing组合为你推荐
华为云备份华为怎么备份所有数据?域名如何绑定服务器在啊里云买的域名与服务器怎么绑定云主机能干什么云主机有什么好处?vds是什么电源电压vdd和源漏极电压vds有什么区别cdn是什么意思阿里流量包是什么意思ck香港官网正品香港ck专柜代购calvin kleinkj06cb0101要多少钱?银色款!cdn的作用.cdn文件是什么类型的文件?作用是什么?是否是病毒?四叶草安全四叶草 |分类:电脑安全 2010-06-29就是我得到一个文件 说是什么价格表 我是做生意的 这个价格表对我比较有用 接过来解压就一个文件:.scr 名字我用 * 代替了解压打开后消失了 因为是陌生人传的 所以我绝对敢肯定这是木马 请问下怎么才能把它找出来 杀掉? 当游戏高防服务器哪家好请推荐魔兽世界60级怀旧服,国内的(高仿,越高越好),感谢!服务器租用免费为什么租用服务器啊,自己免费在网上注册一个个人网站不行吗
深圳域名空间 vps动态ip godaddy域名解析教程 新秒杀 美国独立服务器 Hello图床 密码泄露 京东云擎 大容量存储器 泉州电信 域名和空间 河南移动m值兑换 网页提速 starry 石家庄服务器托管 浙江服务器 阿里云邮箱个人版 服务器防御 windowssever2008 winserver2008r2 更多