Practical assessment task 2013

It keeps telling me that my ID number is wrong and I'm entering my real one. Plus you shouldn't really be asking for race.
 
It keeps telling me that my ID number is wrong and I'm entering my real one. Plus you shouldn't really be asking for race.

New build uploaded please try it.
The race thing is just for stats
 
Last edited:
National project? Isn't PAT like grade 10-12 at schools?

Yes, hence if I give my source code away someone can just use it instead of programming it themselves. Can you PM me the password you tried
 
Oh. Thought you were actually undertaking the project. Why not do a web based proj then? Still code in java, but an applet. That way no one has to download and install anything. Or is it strictly a desktop app proj?

Well, no alphanumeric password worked previously, tried many. The one which worked (i.e didn't yield an error), upon clicking register nothing happens.
 
Oh. Thought you were actually undertaking the project. Why not do a web based proj then? Still code in java, but an applet. That way no one has to download and install anything. Or is it strictly a desktop app proj?

Well, no alphanumeric password worked previously, tried many. The one which worked (i.e didn't yield an error), upon clicking register nothing happens.

Has to be a desktop project as it has to be marked in school etc.
Seems like DB issue, are you running JRE 7?
Try a cellphone number as a password
 
Last edited:
You run the .jar file, I can't give the source away since its a national project.

ok no problem. this is the Software and Web Development forum, not the test my software forum :)

trust me, noone is going to steal your "work"
 
ok no problem. this is the Software and Web Development forum, not the test my software forum :)

trust me, noone is going to steal your "work"

That's like leaving your Audi unlocked with the key in the ignition. I'd like to get an idea of how people feel about the layout & navigation.
 
That's like leaving your Audi unlocked with the key in the ignition. I'd like to get an idea of how people feel about the layout & navigation.

Well, kabal has a point. I mean? Tiny project. 15 mins to reverse engineer. Just give the code.
Your illustration is just wrong though, lol, Audi to high class of a car to compare your project, try leaving your tennis ball in the street. That's how much it's worth, plus half that.
 
Ah, I remember PAT's :) I always had big ideas at the beginning of the year and spent sleepless nights coding.

It looks like you need some confirmations once a user is registered. I registered and it didn't show any sign of success or take me back to the main screen. Same with when you vote. Notify the user that something's not right.
 
Well, kabal has a point. I mean? Tiny project. 15 mins to reverse engineer. Just give the code.
Your illustration is just wrong though, lol, Audi to high class of a car to compare your project, try leaving your tennis ball in the street. That's how much it's worth, plus half that.

Lol, I just don't want to enter into a situation where someone has the exact same thing as me. I'll happily give the code away as soon as moderation comes up.
 
Last edited:
Ah, I remember PAT's :) I always had big ideas at the beginning of the year and spent sleepless nights coding.

It looks like you need some confirmations once a user is registered. I registered and it didn't show any sign of success or take me back to the main screen. Same with when you vote. Notify the user that something's not right.

It does, seems to be a DB issue, as soon as you register a window will pop up that will close only after you click the print button.
 
ok, well I reverse engineered it anyway :)

some basic tips

you use this alot

PHP:
this.Reg.setFont(new Font("Tahoma", 1, 24));

rather do something like this

in some common file
PHP:
 public static DEFAULT_FONT = new Font("Tahoma", 1, 24);

and then in when you want to use the default
PHP:
this.Reg.setFont(DEFAULT_FONT);

all your Swing attributes could be named a bit better eg
PHP:
private JLabel Password;
private JPasswordField Pword_txt;

rather
PHP:
private JLabel passwordLabel;
private JPasswordField passwordInput/passwordField;


you have a lot of mixed style/nameing convensions too

eg
PHP:
private void Exit_menuActionPerformed(ActionEvent evt)
{
}
private void BackActionPerformed(ActionEvent evt)
{
}
private void initComponents() {
}

the standard convension is to use camelCaps, with the first word being lower case. Only class/interface names begin with uppercase
eg
PHP:
private void exitMenuActionPerformed(ActionEvent evt)
{
}
private void backActionPerformed(ActionEvent evt)
{
}
private void initComponents() {
}

public interface Foo {
}

public class FooImpl implements Foo {
}

pick a brace ({ }} style and stick to it. I prefer
PHP:
public void sameLineBrace() {
}
over
PHP:
public void nextLineBrace()
{
}
 
Last edited:
Top
Sign up to the MyBroadband newsletter
X