..

⑴ 如何制作用户图形界面

Visual Studio吧,C/C++支持,教程也很多,上手也不难。新建一个MFC 对话框程序估计就能满足你要求了。具体过程说起来也蛮多,你搜索一个 VC++ MFC 程序实例 类似的教程就好了。

⑵ ALIENTEK MiniSTM32开发板怎样使用刚买了一个回来学习,可就是进用户界面都让小弟头疼,求教高手啊!

stm32好像应该是contex-m3体系结构的,这款好像在工业控制方面用的比较多。版我只玩过三星的s3c2440。 对于怎样使用,我建议先权对照他的用户手册先操作一遍,不管你懂不懂。然后再对照着一些开发手册,自己开发。 总之学习是一个漫长的工程,坚持下来就好了,不用担心弄坏开发板,随便怎样搞!

⑶ STM32 USB的用户接口函数怎么写,如写入数据并读出数据

自己手写USB驱动,非常困难。网上不是有USB的库函数吗?用那个就行了。你是要写USB从机专,还是USB主机属?还是OTG模式?这个不一样,添加的库函数也不一样的。还得看你用的STM32单片机型号是什么。另外,添加上库函数后,要注意,把USB的时钟配置成48MHz。如果你要做USB主机,需要将一个函数放到定时中断(TIM中断或者systick中断)中,让他一直循环起来。

⑷ 登录界面,输入帐号和密码,选择相应的角色,点击登录,进入相应的界面。求指教,我一直做不出页面的跳转

不懂。。。就是想来混分。。

⑸ steam账户用户名格式是什么样子

玩家可以使用大写的字母、小写的字母或者数字来命名自己的Steam名字,但是数量不能少于三个内。

创建新的steam账户方容法如下:

1、双击运行steam,在登录界面上点击【加入steam】。

⑹ 用java学生信息管理系统 使用图形用户界面,用数据建立学生信息表,可以连接数据库,

呵呵我正好在做这个,给你个用户登陆界面,希望采纳哈 package shixunxiangmu;import java.awt.Font;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.event.MouseAdapter;import java.awt.event.MouseEvent;import javax.swing.ButtonGroup;import javax.swing.ImageIcon;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JOptionPane;import javax.swing.JPasswordField;import javax.swing.JRadioButton;import javax.swing.JTextField;public class LoginFrame { private String username = "黄朋"; private int pwdstr = 111265; public LoginFrame() { jlCimg = new JLabel(); ImageIcon img = new ImageIcon("G:\\图片\\网页图标\\1.jpg"); jlCimg.setIcon(img); final JFrame f = new JFrame(); Font font = new Font("楷体", Font.BOLD, 18); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setTitle("欢迎进入学籍管理登陆页面!"); f.setSize(360, 260); f.setLayout(null); f.setLocationRelativeTo(null); JLabel l1 = new JLabel("用户名"); l1.setBounds(25, 20, 60, 35); l1.setFont(font); final JTextField tf1 = new JTextField(); tf1.setBounds(100, 23, 200, 30); tf1.setFont(font); JLabel l2 = new JLabel("密码"); l2.setBounds(25, 70, 60, 35); l2.setFont(font); final JPasswordField pwd = new JPasswordField(); pwd.setBounds(100, 73, 200, 30); pwd.setFont(font); pwd.setEchoChar('*'); final JRadioButton rb1 = new JRadioButton("管理员"); rb1.setBounds(100, 113, 90, 30); rb1.setFont(font); rb1.setSelected(true); final JRadioButton rb2 = new JRadioButton("用户"); rb2.setBounds(220, 113, 70, 30); rb2.setFont(font); ButtonGroup bg = new ButtonGroup(); bg.add(rb1); bg.add(rb2); final JButton bt2 = new JButton("退出"); bt2.setBounds(200, 163, 80, 30); bt2.setFont(font); bt2.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { if (e.getSource() == bt2) { System.exit(0); } } }); JButton bt1 = new JButton("登录"); bt1.setBounds(100, 163, 80, 30); bt1.setFont(font); bt1.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent e) { String usernameinput = tf1.getText(); String pwdstrinput = String.valueOf(pwd.getPassword()); if ((usernameinput.equals(username)) && (pwdstrinput.equals(pwdstrinput))) { JOptionPane.showMessageDialog(null, "登陆成功!"); new Stmessege(); f.setVisible(false); tf1.grabFocus(); pwd.grabFocus(); return; } else if (pwdstrinput == null || "".equals(pwdstrinput)) { JOptionPane.showMessageDialog(null, "密码不能为空"); pwd.grabFocus(); return; } else if (pwdstrinput.length() < 6) { JOptionPane.showMessageDialog(null, "密码不能小于6位"); pwd.grabFocus(); return; } else { JOptionPane.showMessageDialog(null, "登陆失败!"); } if (rb1.isSelected()); } }); f.add(jlCimg); f.add(l1); f.add(tf1); f.add(l2); f.add(pwd); f.add(bt1); f.add(bt2); f.add(rb1); f.add(rb2); f.setVisible(true); } public static void main(String[] args) { new LoginFrame(); }}

⑺ 如何在java里做用户界面,并连接oravle实现增删改查

import java.awt.Color;import java.awt.Font;import java.awt.Frame;import java.awt.Label;import java.awt.TextField;import java.awt.Window;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.event.WindowAdapter;import java.awt.event.WindowEvent;import java.sql.SQLException;import javax.swing.JButton;public class Stmessege { Font font = new Font("楷体", Font.BOLD, 18); private Frame m = new Frame("登陆成功界面"); protected Window f; public Stmessege() { .addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent evt) { m.setVisible(false); m.dispose(); System.exit(0); } }); m.setSize(460, 360); m.setBackground(Color.green); m.setLayout(null); m.setLocationRelativeTo(null); Label l0 = new Label("管理员信息"); Font font1 = new Font("楷体", Font.BOLD, 32); l0.setForeground(Color.blue); l0.setSize(180, 50); l0.setLocation(150, 30); l0.setFont(font1); final Label l1 = new Label("姓名:"); l1.setSize(60, 20); l1.setLocation(10, 100); l1.setFont(font); TextField tf1 = new TextField("黄朋"); tf1.setForeground(Color.blue); tf1.setBackground(Color.white); tf1.setSize(50, 20); tf1.setLocation(70, 100); final Label l2 = new Label("学号:"); l2.setSize(60, 20); l2.setLocation(140, 100); l2.setFont(font); TextField tf2 = new TextField("111265"); tf2.setForeground(Color.blue); tf2.setBackground(Color.white); tf2.setSize(60, 20); tf2.setLocation(190, 100); final Label l3 = new Label("性别:"); l3.setSize(60, 20); l3.setLocation(280, 100); l3.setFont(font); TextField tf3 = new TextField("男"); tf3.setForeground(Color.blue); tf3.setBackground(Color.white); tf3.setSize(40, 20); tf3.setLocation(360, 100); final Label l4 = new Label("班级:"); l4.setSize(60, 20); l4.setLocation(10, 170); l4.setFont(font); TextField tf4 = new TextField("611231"); tf4.setForeground(Color.blue); tf4.setBackground(Color.white); tf4.setSize(60, 20); tf4.setLocation(67, 170); final Label l5 = new Label("系别:"); l5.setSize(60, 20); l5.setLocation(140, 170); l5.setFont(font); TextField tf5 = new TextField("计算机工程系"); tf5.setForeground(Color.blue); tf5.setBackground(Color.white); tf5.setSize(80, 20); tf5.setLocation(200, 170); final Label l6 = new Label("成绩:"); l6.setSize(60, 20); l6.setLocation(280, 170); l6.setFont(font); TextField tf6 = new TextField("95"); tf6.setForeground(Color.blue); tf6.setBackground(Color.white); tf6.setSize(40, 20); tf6.setLocation(360, 170); final Label l7 = new Label("专业:"); l7.setSize(60, 20); l7.setLocation(10, 230); l7.setFont(font); TextField tf7 = new TextField("软件技术"); tf7.setForeground(Color.blue); tf7.setBackground(Color.white); tf7.setSize(60, 20); tf7.setLocation(70, 230); JButton btn1 = new JButton("添加"); btn1.setForeground(Color.blue); btn1.setSize(80, 38); btn1.setLocation(35, 300); btn1.setFont(font); btn1.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub new 插入(); m.setVisible(true); } }); JButton btn2 = new JButton("查询学生学籍信息"); btn2.setForeground(Color.blue); btn2.setSize(200, 38); btn2.setLocation(135, 300); btn2.setFont(font); btn2.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { Stmessege1 f; try { f = new Stmessege1(); f.Stmessege11(); m.setVisible(true); } catch (SQLException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (ClassNotFoundException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } }); JButton btn3 = new JButton("删除"); btn3.setForeground(Color.blue); btn3.setSize(80, 38); btn3.setLocation(350, 300); btn3.setFont(font); btn3.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub new 删除(); m.setVisible(true); } }); JButton btn4 = new JButton("更新"); btn4.setForeground(Color.blue); btn4.setSize(80, 38); btn4.setLocation(200, 230); btn4.setFont(font); btn4.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub new 更新(); m.setVisible(true); } });m.add(l0); m.add(l1); m.add(tf1); m.add(l2); m.add(tf2); m.add(l3); m.add(tf3); m.add(l4); m.add(tf4); m.add(l5); m.add(tf5); m.add(l6); m.add(tf6); m.add(l7); m.add(tf7); m.add(btn1); m.add(btn2); m.add(btn3); m.add(btn4); m.setVisible(true); } public static void main(String[] args) { new Stmessege(); }}这是插入数据的代码:import java.awt.Color;import java.awt.Font;import java.awt.Frame;import java.awt.Label;import java.awt.TextField;import java.awt.Window;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.event.WindowAdapter;import java.awt.event.WindowEvent;import java.beans.Statement;import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;import javax.swing.JButton;import javax.swing.JOptionPane;public class 插入 { private Connection conn = null; private Statement stmt = null; private String dbDriver = "com.mysql.jdbc.Driver"; private String dbUrl = "jdbc:mysql://localhost:3306/hp"; private String dbUser = "root"; private String dbPass = "19920102"; public Connection getConnection() { try { Class.forName(dbDriver); conn = DriverManager.getConnection(dbUrl, dbUser, dbPass); } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } return conn; } Font font = new Font("楷体", Font.BOLD, 18); private Frame f2 = new Frame("添加数据界面"); protected Window f; public 插入() { /*f2.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent evt) { f2.setVisible(false); f2.dispose(); System.exit(0); } });*/ f2.setSize(460, 360); f2.setBackground(Color.green); f2.setLayout(null); f2.setLocationRelativeTo(null); final Label l1 = new Label("姓名:"); l1.setSize(60, 20); l1.setLocation(10, 100); l1.setFont(font); final TextField tf1 = new TextField(); tf1.setForeground(Color.blue); tf1.setBackground(Color.white); tf1.setSize(50, 20); tf1.setLocation(70, 100); final Label l2 = new Label("学号:"); l2.setSize(50, 20); l2.setLocation(140, 100); l2.setFont(font); final TextField tf2 = new TextField(); tf2.setForeground(Color.blue); tf2.setBackground(Color.white); tf2.setSize(60, 20); tf2.setLocation(190, 100); final Label l3 = new Label("性别:"); l3.setSize(60, 20); l3.setLocation(280, 100); l3.setFont(font); final TextField tf3 = new TextField(); tf3.setForeground(Color.blue); tf3.setBackground(Color.white); tf3.setSize(40, 20); tf3.setLocation(360, 100); final Label l4 = new Label("班级:"); l4.setSize(60, 20); l4.setLocation(10, 170); l4.setFont(font); final TextField tf4 = new TextField(); tf4.setForeground(Color.blue); tf4.setBackground(Color.white); tf4.setSize(60, 20); tf4.setLocation(67, 170); final Label l5 = new Label("系别:"); l5.setSize(60, 20); l5.setLocation(140, 170); l5.setFont(font); final TextField tf5 = new TextField(); tf5.setForeground(Color.blue); tf5.setBackground(Color.white); tf5.setSize(80, 20); tf5.setLocation(200, 170); final Label l6 = new Label("成绩:"); l6.setSize(60, 20); l6.setLocation(280, 170); l6.setFont(font); final TextField tf6 = new TextField(); tf6.setForeground(Color.blue); tf6.setBackground(Color.white); tf6.setSize(40, 20); tf6.setLocation(360, 170); final Label l7 = new Label("专业:"); l7.setSize(60, 20); l7.setLocation(10, 230); l7.setFont(font); final TextField tf7 = new TextField(); tf7.setForeground(Color.blue); tf7.setBackground(Color.white); tf7.setSize(60, 20); tf7.setLocation(70, 230); JButton btn1 = new JButton("确定"); btn1.setForeground(Color.blue); btn1.setSize(80, 38); btn1.setLocation(200, 300); btn1.setFont(font); btn1.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { // TODO Auto-generated method stub int m = Integer.parseInt(tf2.getText()); int n = Integer.parseInt(tf4.getText()); int x = Integer.parseInt(tf6.getText()); String sql = "insert into xsgli(姓名,学号,性别,班级,系别,成绩,专业) values('" + tf1.getText() + "','" + m + "','" + tf3.getText() + "','" + n + "','" + tf5.getText() + "','" + x + "','" + tf7.getText() + "'" + ")"; int a = do_insert(sql); boolean flag = false; if (a != 0) flag = true; if (flag) JOptionPane.showMessageDialog(null, "操作成功"); else JOptionPane.showMessageDialog(null, "操作失败!!"); f2.hide();} }); f2.add(l1); f2.add(tf1); f2.add(l2); f2.add(tf2); f2.add(l3); f2.add(tf3); f2.add(l4); f2.add(tf4); f2.add(l5); f2.add(tf5); f2.add(l6); f2.add(tf6); f2.add(l7); f2.add(tf7); f2.add(btn1); ; f2.setVisible(true); } protected int do_insert(String sql) { int res = 0; conn = this.getConnection(); try { res = conn.createStatement().executeUpdate(sql); System.out.print(res); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } return res; } public static void main(String[] args) { new 插入(); }}你看下,希望能帮到你,我用的mysqlshujuku

⑻ 想在stm32上面显示界面, 就是要用到ucgui吗,使用ucgui之前,需不需要学习文件系统,

ucgui是用于编写来界面的,如果你自做的界面比较简单,把图标、图片的数据存放在STM32的片上FLASH中就可以了,不需要文件系统。文件系统是用来管理文件的,单片机系统中最常用的是FATfs。如果你做的界面比较复杂,需要大量的图片,STM32上存放不了,要用SD卡存储的时候,就要用文件系统了。总之,ucgui和文件系统没有必然联系。你可以分开来学,没有先学后学的次序要求。

⑼ 在JSP做登录界面 三个用户类型无法选择

不如页面上写个下拉框或者按钮,后台根据选择不同的值从而选择不同的类型,进行登录

⑽ SDH设备上STM-1接口的定义和作用分别是什么

STM - 1155 m光口。

STM - 4 622 m光口。

STM - 16 2.5 G光口。

STM - 64- 10g光口,当然,也就是stm-1 155M。

其他光电指标如界面速度、信号框专架结构、光能等均由ITU -t (ITU电信标准属部门)规定。世界上的SDH设备制造商必须严格遵守。这样的全球SDH设备可以无缝连接。

最初的PDH设备没有世界统一的接口标准。每个生产的接口是不同的,不同的厂家不能直接连接。对于用户群网络来说,很不方便,严重制约了通信的发展。SDH是同步传输系统,最小模块单元为stm- 1155.520 Mbit/s。由SDH定义的所有传输模块都是严格的4倍,如上所示。没有stm-2、stm-3、stm-7等,只有1、4、16、64、256个模块。

特别地,看到一个模块是stm-0,它不是SDH的标准模块,是北美SONET系统中的oc1。