本文目录一览:
- 1、需要一个JAVA编写的名片管理程序 感激不尽~~
- 2、如何使用云脉名片识别软件有效管理名片?
- 3、求大神帮做java web的期末课程设计,急用,我要成品,不需要太复杂!!!
- 4、如何做出优秀的界面(java)
- 5、java题目,io流问题
- 6、急求一个用JAVA写的 电子名片管理器 (源代码) 要求:利用Java设计电子名片管理器,要求实现名片的添加、
需要一个JAVA编写的名片管理程序 感激不尽~~
建议去威客网发布任务找人写吧,,,详情进入本人空间博客的日志看最后一段
如何使用云脉名片识别软件有效管理名片?
云脉名片识别,拍摄名片即可快速扫描并读取名片上的信息,将联系人等信息分类自动存入手机通讯录和名片夹。云脉名片识别可多语言识别、管理,为名片添加电话、短信、邮件、网址等全方位的联络方式快捷打开。
云脉名片识别软件如何有效管理名片:
1.名片识别:
手机拍摄名片,快速精准的多语言识别和拍摄多张名片批量识别,轻松实现将名片信息自动采集存入手机通讯录;
2.名片服务:
支持对名片信息上的电话号码进行快捷拨号和短信、邮件的轻松发送,公司网址链接快捷打开,通过地图定位某张名片的地址,让您的商务人脉管理更智能;
3.名片分享交换:
扫描用户名片二维码,瞬间保存,支持名片分享交换,使商务间的名片畅通传递;
4.名片管理:
分组归类收藏重要名片信息,支持名片搜索、批量移动和名片编辑等信息管理,帮助您全面的掌控名片资源,方便贴心;
求大神帮做java web的期末课程设计,急用,我要成品,不需要太复杂!!!
代码自己敲啊。。。。没有难度的啊 。。。熟悉一下,web、servlet的配置。
回收站,就搞一个逻辑删除就OK 了。
如何做出优秀的界面(java)
楼上的都理解错了把,楼主应该做的是用Swing和Awt做的桌面应用程序把。如果做的是Web,界面根本没java什么事。用Swing做的界面在windows上的确很难看。这不是你能改变的。楼主可以尝试用SWT来做。Eclipse就是用SWT做的,即便如此,做出来的界面也称不上很棒。如果楼主不嫌麻烦,可以自己动手做一些图片作为窗口和控件的背景,这需要美术基础。
java题目,io流问题
我这里有一个简单的学生管理系统,你只需要把Student学生类修改成名片类就可以了。你需要新建立一个java文件名为HW4.java,复制粘贴以下代码,编译运行就可以了。
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;
class Student implements ComparableStudent, Serializable{
/**
* Serializable UID: ensures serialize/de-serialize process will be successful.
*/
private static final long serialVersionUID = -3515442620523776933L;
public int getNumber() {
return number;
}
public void setNumber(int number) {
this.number = number;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
public double getWeight() {
return weight;
}
public void setWeight(double weight) {
this.weight = weight;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
private int number;
private int age;
private double weight;
private String name;
public Student(int number, int age, double weight, String name) {
this.number = number;
this.age = age;
this.weight = weight;
this.name = name;
}
@Override
public int compareTo(Student o) {
if (this.age == o.age) {
return (int)(this.weight - o.weight);
}
return this.age - o.age;
}
}
class StudentSortByAge implements ComparatorStudent {
@Override
public int compare(Student o1, Student o2) {
return o1.getAge() - o2.getAge();
}
}
class StudentSortByWeight implements ComparatorStudent {
@Override
public int compare(Student o1, Student o2) {
return (int)(o1.getWeight() - o2.getWeight());
}
}
public class HW4 {
//passing one and only one instance of scanner instance reduce complexity of program.
public static void main(String[] args) {
System.out.println("\nWelcome to the System, Choose options below: ");
printPrompt();
Student[] students = null;
Scanner scanner = new Scanner(System.in);
while(scanner.hasNextInt()) {
switch (scanner.nextInt()) {
case 1:
System.out.println("Print Student Information");
if (students == null) {
System.out.println("Please Initilise N students first");
} else {
printStudents(students);
}
printPrompt();
break;
case 2:
System.out.println("Enter numebr of students you want to create: ");
int number = scanner.nextInt();
students = initilise(number, scanner);
printPrompt();
break;
case 3:
System.out.println("Add a new student");
printPrompt();
if (students == null) {
System.out.println("Please Initilise N students first");
} else {
int newLength = students.length + 1;
students = Arrays.copyOf(students, newLength);
students[newLength - 1] = createStudent(scanner);
System.out.println("New student has been added.");
printPrompt();
}
break;
case 4:
System.out.println("Sorting by Age, Weight in Asce order");
if (students == null) {
System.out.println("Please Initilise N students first");
} else {
Student[] sortedStudents = students;
Arrays.sort(sortedStudents);
printStudents(sortedStudents);
}
break;
case 5:
System.out.println("Calcaulte Min, Max, Ave of Age and Weight");
if (students == null) {
System.out.println("Please Initilise N students first");
} else {
Student[] sortedAgeStudents = students;
Arrays.sort(sortedAgeStudents, new StudentSortByAge());
Student[] sortedWeightStudents = students;
Arrays.sort(sortedWeightStudents, new StudentSortByWeight());
int averageAge = 0;
double averageWeight = 0.0;
for (Student student : sortedAgeStudents) {
averageAge += student.getAge();
averageWeight += student.getWeight();
}
averageAge = averageAge / sortedAgeStudents.length;
averageWeight = averageWeight / sortedWeightStudents.length;
System.out.printf("Min Age: %d, Max Age: %d, Ave Age: %d\n", sortedAgeStudents[0].getAge(), sortedAgeStudents[sortedAgeStudents.length - 1].getAge(), averageAge);
System.out.printf("Min Weight: %f, Max Weight: %f, Ave Weight: %f\n", sortedWeightStudents[0].getWeight(), sortedWeightStudents[sortedWeightStudents.length - 1].getWeight(), averageWeight);
}
break;
case 6:
System.out.println("Write Student data into file");
try (ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(new File("studentsData"), true))) {
oos.writeObject(students);
printPrompt();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
break;
case 7:
System.out.println("Read studentData from file");
try (ObjectInputStream ois = new ObjectInputStream(new FileInputStream(new File("studentsData")))) {
students = (Student[]) (ois.readObject());
printPrompt();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
break;
default:
scanner.close();
System.out.println("Quit");
break;
}
}
}
public static void printPrompt() {
System.out.println("1: Display current students");
System.out.println("2: Initilise N students");
System.out.println("3: Add new student");
System.out.println("4: Sorting by Age, Weight in Asce order");
System.out.println("5: Calcaulte Min, Max, Ave of Age and Weight");
System.out.println("6: Write Student data into file");
System.out.println("7: Read studentData from file");
}
public static Student[] initilise(int n, Scanner scanner) {
Student[] students = new Student[n];
for (int i = 0; i n; i ++) {
students[i] = createStudent(scanner);
}
System.out.println("Initilisation of students complete.");
return students;
}
public static void printStudents(Student[] students) {
for (Student student : students) {
System.out.printf("Student: %s, Number: %d, Age: %d, Weight: %f\n", student.getName(), student.getNumber(), student.getAge(), student.getWeight());
}
}
public static void printSortedStudents(Student[] students) {
for (Student student : students) {
System.out.printf("Age: %d, Weight: %f, Student: %s, Number: %d\n", student.getAge(), student.getWeight(), student.getName(), student.getNumber());
}
}
public static Student createStudent(Scanner scanner) {
int studentNumber = 0, studentAge = 0;
double studentWeight = 0.0;
String studentName = null;
System.out.println("Enter Student Number: ");
while(scanner.hasNext()) {
studentNumber = scanner.nextInt();
System.out.println("Enter Student Age: ");
studentAge = scanner.nextInt();
System.out.println("Enter Student Weight: ");
//nextDouble仅仅读取double的值,在double值后的'\n'将会被nextLine()所读取,所以读取studentName时需要再读取一次nextLine()
studentWeight = scanner.nextDouble();
System.out.println("Enter Student Name: ");
scanner.nextLine();
studentName = scanner.nextLine();
break;
}
return new Student(studentNumber, studentAge, studentWeight, studentName);
}
}
急求一个用JAVA写的 电子名片管理器 (源代码) 要求:利用Java设计电子名片管理器,要求实现名片的添加、
很不错,而且还赠送全FLASH的网站,实在是物美价廉啊。电子名片是一种新型的宣传工具,深受一些参展企业的亲睐。
电子名片是一种以图文、声像并茂的多媒体“光盘名片”,不但新颖,时尚,非常实用,适用于任何商家,企事业宣传。是今后企事业单位必备的宣传品。
企业电子名片的优势
1、形式新颖,使客户眼前一亮。
电子名片以其独特的多媒体载体获得客户的关注,有强烈的广告宣传视觉效果,容易引起客户兴趣,具有收藏性及传阅性,人性化操作带给客户全方面的新奇感受,从而在潜意识中增强了对公司实力和先进意识的认同,进而给产品更多的关注。电子名片所能表现的效果与内容是所有印刷品都无法表现的,真正完整展示企业的品位与内涵。
2、容量大、重量轻、携带方便
电子名片可储存50万文字、30分钟MP3音乐、15分钟VCD影片或动画、1000张图片,远远大于传统的产品目录或书籍的容量,它仅有6克重量,体积和信用卡大小,极易携带和邮寄。
3、操作简易
用户只需将电子名片放入电脑光驱中便可自动运行,并引导用户自如应用。多媒体光碟有顺序播放和互动操作两种功能,顺序播放功能可以保证软件像VCD一样播放;而互动功能则是通过人性化的操作界面,轻松转换各目录之间,这样就充分调动了浏览者的参与热情,满足了观众的互动要求。两种功能还可十分灵活地进行实时切换。