Give the code you have attempted.
You won't get full code here, so pleas post how much you have tried.
Hint-
Try using methods setVisible(true), setSize(width, height) of JFrame class.
Type: Posts; User: tombstone
Give the code you have attempted.
You won't get full code here, so pleas post how much you have tried.
Hint-
Try using methods setVisible(true), setSize(width, height) of JFrame class.
What do you mean another system?
Please post what you have tried so far, and clearly state your problem with an example if possible.
I think it is better to use the JXL api for excel rather than using jdbc.
A link to the API tutorial - Java Excel API Tutorial
Check where the while loop closing brace is, because in the code posted, it looks to be at incorrect position.
Only below part should be in while loop:
fileContents = fileContents + "\n" +...
Java mail api supports pop, imap and smtp protocols.
I have written codes (with\without GUI) to read my gmail and send mails using smtp protocol.
I can give you sample codes if u want.
Cheers!
Use toCharArray() method on the 2 Strings.
Then use for loop and compare the Student's answer against actual answer.
score = 0;
for(i=0;i<actual.length;i++){
if(student[i] == ' ') { /* do...
Right Click on the java file containing public static void main method.
Go to properties - run\debug settings - select class and click edit button on right side.
In arguments tab, provide the...