xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_margin="20dp" tools:context=".MainActivity" android:orientation="vertical" android:background="@mipmap/p30"> <LinearLayout android:layout_marginTop="55dp" androi...
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/rl1" tools:context=".MainActivity"> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="按钮" android:textSize=...
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity" android:background="#01ffff"> <Button android:id="@+id/button" android:layout_width="80dp" android:layout_height="80dp" android:layout_cente...
package jdbc; import java.sql.Date; public class User { private int id; private String name; private int age; private String email; private Date birthday; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } publ...
<RelativeLayout xmlns:android=" http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@mipmap/p1"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" ...
第一次作业:运行第一个安卓程序 所需截图:
<%@page import="java.sql.PreparedStatement"%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sql.Connection"%> <% String uname = request.getParameter("uname"); session.setAttribute("uname", uname); Connection conn = null; PreparedStatement...
2.系统设计 2.1 系统模块及功能图 2.2 UML时序图 2.3 UML类图 2.4 UML模块关系图 2.4 数据库设计 3.系统测试 3.1 功能模块测试用例 3.2 测试结果 4.系统实现 4.1 核心模块界面及关键代码 5.技术说明 5.1应用技术与主要代码 6.项目总结 一、需求分析 ...
function mycheck(){ if(form1.userName.value==""){ alert("用户名不能为空,请输入用户名!"); form1.userName.fouse(); return; } if(form1.password.value==""){ alert("密码不能为空,请输入密码!"); form1.password.fouse(); return;...
--> <% int h=3; int l=5;%> <% for(int i=0;i<h;i++){ %> <% for(int j=0;j<l;j++){ %> 沈阳故宫 <%}%> <%}%>