public void actionPerformed(java.awt.event.ActionEvent e) {
jTextArea.setText("留言内容:");
}
});
}
return jButton1;
}
/**
* This method initializes jButton2
*
* @return javax.swing.JButton
*/
private JButton getJButton2() {
if (jButton2 == null) {
jButton2 = new JButton();
jButton2.setBounds(new Rectangle(565, 112, 60, 32));
jButton2.setText("置顶");
jButton2.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
jTextArea.setCaretPosition(0);
}
});
}
return jButton2;
}
/**
* This method initializes jButton3
*
* @return javax.swing.JButton
*/
private JButton getJButton3() {
if (jButton3 == null) {
jButton3 = new JButton();
jButton3.setBounds(new Rectangle(565, 173, 60, 32));
jButton3.setText("至尾");
jButton3.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
jTextArea.setCaretPosition((int)jTextArea.getText().length());
}
});
}
return jButton3;
}
public static void main(String args[]){
new Liuyb();
}
}
【用户留言java代码 java留言板功能齐全源码】关于用户留言java代码和java留言板功能齐全源码的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站 。
- 2021年高考最热作文 mysql创建实例用户
- redis 用户密码 redis密码空
- java查询数组中是否包含某一个值 javamongodb数组查询
- mongodb用户权限 mongodb用户管理可视化
- mongo 新建数据库 mongodb创建用户和数据库
- mysql drop from mysqldrop用户
- redis实战电子书 redisjava书籍
- mongodb怎么查看数据 mongodb查看用户名和密码
- javaredis集群 javaredis列队
- Redis队列排队 redis队列java
