Ⅰ DNF所有界面代码

sprite_worldmap.NPK 副本选择的背景
sprite_map_cutscene.NPK 城镇地图切换画面和副本进入画面
├ pathgate 格兰之回森区域答 副本门
├ pathgate_act2 天空之城区域 副本门
├ pathgate_act3 天帷巨兽区域 副本门
├ pathgate_act4 暗黑城区域 副本门
├ pathgate_act5 万年雪山区域 副本门

java列表界面代码

importjava.awt.*;
importjava.awt.event.*;
importjavax.swing.*;

{
private JPanel ;
private JList listbox;

publicJListDemo(){
setTitle("SimpleListBoxApplication");
setSize(300,100);
setBackground(Color.gray);

topPanel=newJPanel();
topPanel.setLayout(newBorderLayout());
getContentPane().add(topPanel);

String listData[]=
{
"Item1",
"Item2",
"Item3",
"Item4"
};

listbox=newJList(listData);
topPanel.add(listbox,BorderLayout.CENTER);
}

publicstaticvoidmain(Stringargs[]){
JListDemomainFrame =newJListDemo();
mainFrame.setVisible(true);
}
}

Ⅲ 用java写一个登陆界面代码。

这是我以前写的系统登录框的login
package java1;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
import java.util.*;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.Rectangle;
import java.awt.Font;

public class login extends JFrame
{
public login() {
try {
jbInit();
}
catch (Exception ex) {
ex.printStackTrace();
}
}
public static void main(String[] args)
{
login frm=new login();
frm.setBounds(300,200,300,260);
frm.setVisible(true);

}

private void jbInit() throws Exception {
this.getContentPane().setLayout(null);
jLabel1.setForeground(Color.red);
jLabel1.setText("用户名");
jLabel1.setBounds(new Rectangle(25, 72, 68, 29));
jButton2.setBounds(new Rectangle(142, 159, 81, 30));
jButton2.setText("取消");
jButton2.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton2_actionPerformed(e);
}
});
jButton1.setBounds(new Rectangle(38, 159, 81, 29));
jButton1.setText("确定");
jButton1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
jButton1_actionPerformed(e);
}
});
jTextField1.setBounds(new Rectangle(109, 79, 136, 23));
jPasswordField1.setBounds(new Rectangle(109, 115, 136, 23));
this.getContentPane().add(jLabel1);
jLabel3.setFont(new java.awt.Font("隶书", Font.PLAIN, 24));
jLabel3.setText("学 生 考 试 系 统");
jLabel3.setBounds(new Rectangle(22, 15, 268, 47));
this.getContentPane().add(jTextField1);
this.getContentPane().add(jLabel2);
this.getContentPane().add(jButton2);
this.getContentPane().add(jButton1);
this.getContentPane().add(jLabel3);
this.getContentPane().add(jPasswordField1);
jLabel2.setForeground(Color.red);
jLabel2.setText("密码");
jLabel2.setBounds(new Rectangle(26, 112, 68, 29));
}

JLabel jLabel1 = new JLabel();
JLabel jLabel2 = new JLabel();
JTextField jTextField1 = new JTextField();
JButton jButton1 = new JButton();
JButton jButton2 = new JButton();
JLabel jLabel3 = new JLabel();
JPasswordField jPasswordField1 = new JPasswordField();
main2 wo=new main2();
int sum;

//判断权限的方法
public void success()
{
try{
ResultSet rs1;
String s1="select * from 管理权限 where name='"+jTextField1.getText()+"' and password='"+jPasswordField1.getText()+"'";
rs1=sqlcx.Rs_jiluji(s1);
rs1.first();
sum=Integer.parseInt((String)(rs1.getString(3)));
System.out.println(sum);
very();
}
catch(Exception c)
}

//根据权限设置窗口
public void very()
{
if (sum==1)
{JOptionPane.showOptionDialog(this, "您现在是以教师权限登陆", "登陆信息"
, JOptionPane.DEFAULT_OPTION,
JOptionPane.ERROR_MESSAGE,
null, null, null);

}
else
{
JOptionPane.showOptionDialog(this, "你现在是以学生权限登陆", "登陆信息"
, JOptionPane.DEFAULT_OPTION,
JOptionPane.ERROR_MESSAGE,
null, null, null);
wo.jButton2.setVisible(false);
wo.jButton3.setVisible(false);
wo.jButton4.setVisible(false);
wo.jButton5.setVisible(false);
wo.jButton6.setVisible(false);
wo.jButton7.setVisible(false);
wo.jButton8.setVisible(false);
wo.jMenu2.setVisible(false);
wo.jMenu3.setVisible(false);
wo.jMenu4.setVisible(false);
}

}

public void jButton1_actionPerformed(ActionEvent e)
{
//判断用户名是否为空
if (jTextField1.getText().length() == 0) {
JOptionPane.showOptionDialog(this, "用户名不能为空", "错误信息"
, JOptionPane.DEFAULT_OPTION,
JOptionPane.ERROR_MESSAGE,
null, null, null);
}
//判断密码是否为空
else if (jPasswordField1.getText().length()==0)
{
JOptionPane.showOptionDialog(this,"密码不能为空", "错误信息"
, JOptionPane.DEFAULT_OPTION,
JOptionPane.ERROR_MESSAGE,
null, null, null);
}
else
{
try
{
ResultSet rs;//声明记录集
String sql="select * from 管理权限 where name='"+jTextField1.getText()+"'";
rs = sqlcx.Rs_jiluji(sql);
if (rs.next())
{
if(jPasswordField1.getText().equals(rs.getString(2)))
{

success();
wo.setBounds(60,40,700,600);
wo.setVisible(true);
this.dispose();
}
else
{
JOptionPane.showOptionDialog(this,"密码错误", "错误信息"
, JOptionPane.DEFAULT_OPTION,
JOptionPane.ERROR_MESSAGE,
null, null, null);
}
}
else
{
JOptionPane.showOptionDialog(this,"没有所要找的用户名", "错误信息"
, JOptionPane.DEFAULT_OPTION,
JOptionPane.ERROR_MESSAGE,
null, null, null);
}

}
catch(Exception c){
JOptionPane.showOptionDialog(this,"连接数据库失败", "错误信息"
, JOptionPane.DEFAULT_OPTION,
JOptionPane.ERROR_MESSAGE,
null, null, null);
}
}
}
public void jButton2_actionPerformed(ActionEvent e) {
System.exit(0);
}
}

Ⅳ 一个简单的登录界面源代码

<script>
function login() {
var a = false;
var $text = $(".text");
$.ajax({
url: "__URL__/check",
type: "post",
data: {"username": $("#username").val(), "password": $("#password").val()},
success: function (res) {
if (res == 1) {
/* $text.text("登陆成功,请稍后..."); */
location.href = "{:U('Index/index')}";
a = true;
} else if (res == 3) {
$text.html("用户名不存在");
$("#username").focus();
return false;
} else if (res == 2) {
$text.text("密码错误");
$("#password").focus();
return false;
}
}
})

return a;
}
</script>
</head>
<body>
<div class="bg"></div>
<div class="container">
<div class="line bouncein">
<div class="xs6 xm4 xs3-move xm4-move">
<div style="height:150px;"></div>
<div class="media media-y margin-big-bottom">
</div>
<form action="" method="post" onsubmit="return login()">
<div class="panel loginbox">
<div class="text-center margin-big padding-big-top"><h1>顾森客户管理系统</h1></div>
<div class="panel-body" style="padding:30px; padding-bottom:10px; padding-top:10px;">
<div class="form-group">
<div class="field field-icon-right">
<input type="text" class="input input-big" id="username" name="username" placeholder="登录账号" data-validate="required:请填写账号" />
<span class="icon icon-user margin-small"></span>
</div>
</div>
<div class="form-group">
<div class="field field-icon-right">
<input type="password" class="input input-big" id="password" name="password" placeholder="登录密码" data-validate="required:请填写密码" />
<span class="icon icon-key margin-small"></span>
</div>
</div>
</div>
<div style="padding:30px;"><input type="submit" class="button button-block bg-main text-big input-big" value="登录">
<span class="text" style="color:#f00;"></span>
</div>

</div>
</form>
</div>
</div>
</div>

Ⅳ 用html代码编写一个简单的登陆界面

<!DOCTYPE html><html lang="zh-CN"><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>登录</title>
<link href="css/bootstrap.min.css" rel="stylesheet"></head><body><nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="./">jsp作业</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="login.html">登录</a></li>
</ul>
</div>
</div></nav><div class="container">
<div class="row">
<div class="col-md-4">

</div>
<div class="col-md-4">
<form class="form-signin" target="submitFrame" method="post">
<h2 class="form-signin-heading">登录到jsp作业</h2>
<label for="inputEmail">Email</label>
<input type="email" id="inputEmail" class="form-control" placeholder="请输入Email" required autofocus><br>
<label for="inputPassword">密码</label>
<input type="password" id="inputPassword" class="form-control" placeholder="请输入密码" required>
<div class="checkbox">
<label>
<input type="checkbox" value="remember-me" checked="checked"> 记住密码 </label>
</div>
<button type="submit" class="btn btn-primary" id="btn-login">登录</button>
<a href="reg.html" class="btn btn-default">注册</a>
</form>
<iframe style="display: none;" name="submitFrame" src="about:blank"></iframe>
</div>
<div class="col-md-4">
</div>
</div>
<script src="js/jquery.min.js"></script></body></html>

Ⅵ html登陆界面代码

实现这个功能要两个网页,一个是前台静态网页,用两个文本框分别为t1,t2,一回个按钮active后面写上你要跳答转的后台网页的名称如"houtai.asp"
以下是houtai.asp的代码
<%
dim
a,b
a=request.from("t1")
b=request.from("t2")
if
a<>admin
then
response.write
"用户名错误"
else
if
b<> 123456
then

response.write
"密码错误"

else
response.redirect
"你要转到的主页.asp"
end
if
end
if
%>

Ⅶ 求网页登陆界面的代码

<script type="text/javascript"> function show(){ document.getElementById("login").style.display=""; } function hidden(){ document.getElementById("login").style.display="none"; } </script> </head> <body> <input type="button" name="button" id="button" value="Login" onclick="show()" /> //在层里尼可以把它做的像一个窗体 <div id="login" name="login" style="display:none; width:500px; height:100; background-color:#7F3FFF;" align="center"> <form id="form1" name="form1" method="post" action=""> <p> <label>user: <input type="text" name="1" id="1" /> </label> </p> <p> <label> password: <input type="password" name="textfield2" id="2" /> </label> </p> <input type="button" name="button" id="button" value="close" onclick="hidden()" /> </form> </div>

Ⅷ 如何写网页登陆界面的代码

这个是处理表单的页面,其实如果按照你说的,只有一个用户名的话,那就不用数据库咯。满简单的。
<%
AdminName=request("AdminName")
Password=request("Password")
if AdminName<>"制作" then
response.write"<SCRIPT language=JavaScript>alert('用户名不正确!');"
response.write"javascript:history.go(-1)</SCRIPT>"
else
response.redirect"qindayuan.com/vcckxp/215165.htm"
end if
if Password<>"0123456789" then
response.write"<SCRIPT language=JavaScript>alert('密码错误!');"
response.write"javascript:history.go(-1)</SCRIPT>"
else
response.redirect"qindayuan.com/vcckxp/215165.htm"
end if
%>

这样子你试试看,表单的用户名文本框name用AdminName表示,密码用password。试试看吧,如果你觉得这代码不好的话,不用评答案也行,我只是给你一个参考。

Ⅸ 页面直接跳转代码

跳转代码有很多啊,他可能只是放在网站的一个文件夹下面的,所以你输入网站的时候是不会跳转的,
稍微改了下,不知道符不符合你的要求,颜色可自拟
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>5秒后跳转到另一个页面</title>
</head>
<script>
var t = 5;
var s = '.';
timeID=setInterval("countDown()",1000);
function countDown(){
time.innerHTML= t +"秒后跳转"+s;
t--;
s+='.';
if (t==0) {
location.href="http://www.tc345.cn/"; //【要跳转的网站】
clearInterval(timeID);
}
}
</script>
<body>

<div><font ID="time" face="impact" color="#272822" size="7">即将跳转</font>
</div>
</body>
</html>
比如把这段代码放到一个文件夹下面,把文件夹命名为数字或者字母,然后放在网站更目录下就可以啦,很简单的。