Search Results

Showing results 1 to 27 of 27
Search took 0.01 seconds.
Search: Posts Made By: schoolsoluction
Forum: Java Feb 6th, 2008
Replies: 3
Views: 2,040
Posted By schoolsoluction
something like this you are looking for?


Calendar calExpired = Calendar.getInstance();
calExpired.add(Calendar.MONTH, -3);

Date date_lastlogin = null; //get it from your db or log...
Forum: Java Feb 4th, 2008
Replies: 4
Views: 2,486
Posted By schoolsoluction
I deploy all my application using 'java web start'. It's easy and you get an 'automatic update system' for free.

good luck!
Forum: Java Jan 29th, 2008
Replies: 1
Views: 2,060
Posted By schoolsoluction
I did this in the past...

This article was very helpfull to me:
http://www.javaworld.com/javaworld/javatips/jw-javatip17.html?page=1

But web services might be a better solution...
It...
Forum: Java Jan 20th, 2008
Replies: 19
Views: 3,821
Posted By schoolsoluction
Try the split function of the String class... Split on the " charachter...

If the text does not start with a " you will need all uneven entries of the returning array, otherwise all even...
Forum: Java Jan 19th, 2008
Replies: 3
Views: 633
Posted By schoolsoluction
write this:
private Account accounts = new Account();
Forum: Java Jan 17th, 2008
Replies: 3
Views: 679
Posted By schoolsoluction
If you get 'warnings' about deprecated methods you can turn them off by not passing the -deprecation to the javac command.

If it concerns real 'compiler errors' you will have no other option then...
Forum: Java Jan 11th, 2008
Replies: 6
Views: 1,168
Posted By schoolsoluction
This one is worth taking a look at...

http://www.kripto.hu/kripto/scanfish.html

Quote from their website:
The Scanfish project is done in Java and available for Linux and Windows environment....
Forum: Java Nov 29th, 2007
Replies: 3
Views: 1,871
Posted By schoolsoluction
If you would like to implement an algorithm that tries to solve a problem have a look at this:

Java N Puzzle - heuristic search algorithms...
Forum: Java Nov 3rd, 2007
Replies: 2
Views: 705
Posted By schoolsoluction
You can also try to crawl their websites, analyze the html that your crawl returns and put it into a database...

But before you do this, make sure you have their approval for this... And again,...
Forum: Java Nov 3rd, 2007
Replies: 22
Views: 3,456
Posted By schoolsoluction
Taking classes comes in handy when you're applying for a job as a Java programmer. It's a proof that you have a rather good knowledge of the language.

You can also go for Java certification, but i...
Forum: Java Nov 3rd, 2007
Replies: 7
Solved: tic-tac-toe!
Views: 7,101
Posted By schoolsoluction
Hi, I see some 'common' mistakes newbie programmers often make.

Have a look at this page to help you out:
http://java-assignment.com/hints.php

The page does not tell you how to solve your...
Forum: Java Oct 10th, 2007
Replies: 4
Views: 1,093
Posted By schoolsoluction
Also have a look at JFormattedTextField
Forum: Java Oct 10th, 2007
Replies: 10
Views: 2,284
Posted By schoolsoluction
Yes indeed.

With curl for exemple, you login. Then you get a session coockie. That one you write to a file and pass it on to all your later curl calls...
Forum: Java Oct 8th, 2007
Replies: 10
Views: 2,284
Posted By schoolsoluction
You can call the .exe or shell script with some arguments...

Thats the way I do it... Curls saves the results in text files and then I analyse those files... followed by a new call to curl...
Forum: Java Oct 7th, 2007
Replies: 1
Views: 651
Posted By schoolsoluction
Here you can download source code that can get you started for a puzzle game:

Java puzzle game (http://javaschoolsolutions.110mb.com/puzzle.php)

grtz
Forum: Java Oct 7th, 2007
Replies: 10
Views: 2,284
Posted By schoolsoluction
search google for 'curl', that should get you started...
Forum: Java Oct 5th, 2007
Replies: 3
Views: 696
Posted By schoolsoluction
You could try to use Fop or Jfor

Fop can create pdf files from a java application.

JFor can create rtf files (editable in MS Word).
Forum: Java Oct 5th, 2007
Replies: 17
Views: 3,014
Posted By schoolsoluction
If you want to distribute the JAR file in a 'nice' way (splash screen, easy installation, creation of shortcuts with your own icon) you can distribute it through 'java web start'.

That gives you...
Forum: Java Oct 3rd, 2007
Replies: 2
Views: 877
Posted By schoolsoluction
often made mistake is that the port 8080 is already taken. Try to change the portnumber in the config directory of your server and try to launch it again.
Also look in the /log directory of your...
Forum: Java Oct 3rd, 2007
Replies: 17
Views: 3,014
Posted By schoolsoluction
Best is to use ANT to build your projects to jar files. (or maven if you want to take it a step further).
Forum: Java Sep 30th, 2007
Replies: 5
Views: 733
Posted By schoolsoluction
indeed, the moving the box could be implemented using an applet. Or ajax...

JPA: Java Persistence Api
Forum: Java Sep 29th, 2007
Replies: 5
Views: 733
Posted By schoolsoluction
It depends on your skills...

The easiest way is just to go JSP...

But if you want to take it further you can use:
Pojos or EJB3 (business logic)
JSF (presentation)
Hibernate / JPA...
Forum: Java Sep 29th, 2007
Replies: 4
Views: 682
Posted By schoolsoluction
manjusaharan uses a connection through odbc.
Which is not the best choice when connecting to a MySQL database.

You should download the JConnector of mySql...
Forum: Java Sep 27th, 2007
Replies: 14
Views: 1,628
Posted By schoolsoluction
system independent
very portable
pure object oriented
a lot of open source libraries
...
Forum: Java Sep 27th, 2007
Replies: 8
Views: 746
Posted By schoolsoluction
or
show = Integer.toString(calc);
Forum: Java Sep 26th, 2007
Replies: 7
Views: 7,670
Posted By schoolsoluction
No actually I replied to it, but my reply was considered as a spam (and removed). And probably this message will be too...

Sorry masijade.
To reply to your message. I only help students that make...
Forum: Java Sep 26th, 2007
Replies: 2
Views: 1,913
Posted By schoolsoluction
Hi,

1 => Add a button with an action listener
2 => in the action listener open a JFileChooser so the user can choose the file
3 => Add a JLabel to the JFrame and call its setImage(new...
Showing results 1 to 27 of 27

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC