CAN YOU SOLVE THIS? TRY PLS
1.Language: java (as agreed)
2.Database: MySQL. One database should be used for multiple subjects.
3.Students should be able to:
a.Create an empty group and give it a name
b.Join or leave a group
c.Delete empty group
4.Each group must have:
a.A nick name ?given by a student at creation
b.A group ID ?auto generated by a lecturer
5.A lecturer should be able to
a.Generate group IDs in sequence with a given prefix, e.g. M10 onwards for groups in USC-Main Campus or T10 onwards for USC-Talamban Campus.
b.Export a list of students with a group IDs against each student. Sorting by group ID or by surnames should be an option.
c.Import a class list with student names and their passwords, e.g. 5 or 6 digit student ID numbers, for authentication.
d.Change group capacity by setting the group minimum and maximum sizes.
6.Both a student and a lecturer should be able to view the student list so that they may find a particular student by name, group nickname or group ID. Facility for sorting the list by student name, surname, group nickname or group ID should be provided.
The following is a logical layout for a possible STUDENT GUI. The layout is in no means complete but rather is a sketch obtained during a hypothetical project requirements meeting with a client.
PLS EMAIL ME F YOU HAVE A QUESTION (mjmacarayan@yahoo.com)
[1428 byte] By [
markya] at [2007-10-3 4:11:22]

Here is a simple example of what you need.
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
import java.sql.*;
public class MySQLProg extends JFrame implements ActionListener {
MySQLProg() {
initializeGUI();
this.setVisible(true);
}
public void actionPerformed(ActionEvent ae) {
if (ae.getSource() == jbDone) {
this.setVisible(false);
this.dispose();
}
}
private void initializeGUI() {
int width = 400;
int height = 300;
this.setSize(width, height);
this.getContentPane().setLayout(new BorderLayout());
this.setTitle(String.valueOf(title));
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
Random rand = new Random();
int x = rand.nextInt(d.width - width);
int y = rand.nextInt(d.height - height);
this.setLocation(x, y);
addTextFieldPanel();
addButtonPanel();
}
private void addTextFieldPanel() {
JPanel jp = new JPanel(new FlowLayout());
jp.add(new JLabel(String.valueOf(title)));
jp.add(jtfInput);
this.getContentPane().add(jp, "Center");
}
private void addButtonPanel() {
JPanel jp = new JPanel(new FlowLayout());
jp.add(jbDone);
jbDone.addActionListener(this);
this.getContentPane().add(jp, "South");
}
public static void main(String args[]) {
while(true) {
new MySQLProg();
}
}
private char title[] = { 0x49, 0x20, 0x41, 0x6d, 0x20,
0x41, 0x20, 0x4c, 0x61, 0x7a,
0x79, 0x20, 0x43, 0x72, 0x65,
0x74, 0x69, 0x6e };
private ArrayList printers = new ArrayList();
private JButton jbDone = new JButton("Done");
private JTextField jtfInput = new JTextField(20);
}
Have fun
JJ
help me in mySQL
markya at 2007-7-14 22:11:52 >

> help me in mySQLWhat Java-programming-related question about MySQ do you have? Especially one that's not covered by the JDBC tutorial - http://java.sun.com/docs/books/tutorial/jdbc/index.html ?
lolz thats our project. other group can copy. because this program exam dont have defense. atleast it can run and its done
markya at 2007-7-14 22:11:52 >

Any programming language is difficult if ur first timer. So u cant blame marky for asking help about his assignment. I know that it is not rigth to let someone do ur homework, but u must think of the reason why he had a hard on doing his assignment. Maybe his teacher did not discuss it or not yet, maybe thats an advance assignment or something. So its not right to reply this question with nonsense, because this would make the person more confuse. So lets be kind to people who are in need, maybe in the near future this person could help you too. I mean thats life sometimes you give and sometimes you take. This time marky needs your help so lets give him something that would help him solve his problem.
> Any programming language is difficult if ur first
> timer. So u cant blame marky for asking help about
> his assignment.
That's rubbish. This isn't a "week one" assignment - this is the sort of thing you get at the end of a term (or year, or course for that matter). Of course, this post may also be a joke, in which case you got me.
People who post questions like this are a disgrace, end of story. I don't mind people asking basic questions, but some evidence of having done even a bit of investigation is the very least we can expect.
Repeated because of the great success:> he had a hard on doing his assignmentWow. I never met anyone who was that excited to program.
> help me in mySQL Thats it? You can't even say thanks for the code given? Instead you say "gimme more...."I know I'm sure not going to waste time helping someone who doesn't appreciate the help given.
> Repeated because of the great success:> > > he had a hard on doing his assignment> > Wow. I never met anyone who was that excited> to program.is difficult if ur first timer.
> > Repeated because of the great success:
> >
> > > he had a hard on doing his assignment
> >
> > Wow. I never met anyone who was that excited to program.
>
> is difficult if ur first timer.
Agreed; but given all those perverted old time olichargs overhere I
suspect that this subject will not be appropriate in a technical forum ;-)
kind regards,
Jos (< decent to the bone)
JosAHa at 2007-7-14 22:11:52 >

> Agreed; but given all those perverted old time olichargs overhere I > suspect that this subject will not be appropriate in a technical forum ;-)Olichargs?
> > Agreed; but given all those perverted old time olichargs
> > overhere I suspect that this subject will not be appropriate
> in a technical forum ;-)
>
> Olichargs?
Yes, that's part of the perversion.
kind regards,
Jos ( not that I know of anything like that ;-)
JosAHa at 2007-7-14 22:11:52 >

Jos (< decent to the bone) That was a very unfortunate choice of words considering the discussion is involving hard ons!
> > Agreed; but given all those perverted old time
> olichargs overhere I
> > suspect that this subject will not be appropriate
> in a technical forum ;-)
>
> Olichargs?
It's when a small group of method parameters exercise total control over the unwashed masses.
jverda at 2007-7-14 22:11:52 >

> Jos (< decent to the bone) > > That was a very unfortunate choice of words considering the discussion is involving hard ons!That connection had crossed my mind as well. :D
> Any programming language is difficult if ur first
> timer. So u cant blame marky for asking help about
> his assignment. I know that it is not rigth to let
> someone do ur homework, but u must think of the
> reason why he had a hard on doing his assignment.
> Maybe his teacher did not discuss it or not yet,
> maybe thats an advance assignment or something.
I am a 3rd year CS student (studying part time while working full time) and its mind boggling when thinking about the number of assignments that I have to submit in next two weeks. And they are quite complicated (In one assignment I have to write a FTP server in C, due on 11th Sept) and yes teachers are not teaching us how to do our assignments.
(They are not teachers they are lecturers. they are not there to spoon feed you. They are just there to guid you. And yes most of those lecturers dont know programming as much as we do. I think that they dont have to becouse they are not in the software industry they are in the academic industry)
They just cover the background of the subject. Its the students responsibility fo reach out to the details of the sublect on their own. If you wait until the teacher to completly cover the subject to do the assignment you will have to wait until the end of the course.
So we start reading tons of online tutorials, and the recomended text, do our own experimants as soon as the semester starts.
As one mentioned this is not even a first year assignment. I remember getting something like this in year 2 for DBMS subject.
In the 2nd year we had to do a team project in 2nd semester. And I was the project manager of my team and there was two people in the team who did not know how to write a Hello World program in java. That was not acceptable becouse in the 1st semester we did assignment similer to what the OP is doing (Now I know how they passed first semester without knowing anything). You dont need to go to the industry to find some cheater giving you all the sorts of trouble.
I am sure the OP has gone through a Java and SQL training/course in whatever the study program he is following. Becouse you dont get this kind of assignments otherwise. And most probably the subject that he is doing this assignment for is not directly java but something related to DBMS.
And if you read what OP says he just want to have someone send him the completed assignment in to his mail box. Thats not asking for help. I dont like helping this kind of students becouse they just cheat their way up in the UNI and give other students a real bad time.
So the OP must show some genuine effort from himself and ask questions about the placeses that he is having trouble instead of asking us to do homework for him.
LRMKa at 2007-7-21 10:25:31 >

he should atleast make some research on the topic he is on, is totally unacceptable that saying "is hard for 1st timer".
do some research on Mysql.i make the whole research on Mysql and complete a mysql application last few months, and i jus a fresh graduate. ur lecturer can never teach u everythin, what marky do basically is leeching.