- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
23 Posted Topics
Hi, I see some 'common' mistakes newbie programmers often make. Have a look at this page to help you out: [url]http://java-assignment.com/hints.php[/url] The page does not tell you how to solve your assignment, but it does tell you how to write cleaner code. (like splitting up your code in small parts, …
search google for 'curl', that should get you started...
something like this you are looking for? [CODE] Calendar calExpired = Calendar.getInstance(); calExpired.add(Calendar.MONTH, -3); Date date_lastlogin = null; //get it from your db or log file... Calendar cal_lastlogin = Calendar.getInstance(); cal_lastlogin.setTime(date_lastlogin); if(cal_lastlogin.before(calExpired)) System.out.println("date expired expired!"); [/CODE]
I deploy all my application using 'java web start'. It's easy and you get an 'automatic update system' for free. good luck!
I did this in the past... This article was very helpfull to me: [URL="http://www.javaworld.com/javaworld/javatips/jw-javatip17.html?page=1"]http://www.javaworld.com/javaworld/javatips/jw-javatip17.html?page=1[/URL] But web services might be a better solution... It depends on how you whish to distribute the application... Generally the web services approach would be a bit slower too...
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 entries... good luck
write this: private Account accounts = new Account();
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 to change the code... -i think-
This one is worth taking a look at... [url]http://www.kripto.hu/kripto/scanfish.html[/url] Quote from their website: The Scanfish project is done in Java and available for Linux and Windows environment. The handling of the fingerprint scanner hardware is currently only possible using the libusb/libusb-win32 libraries, so in order to use them we need …
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 a serious effort to solve an assignment...
If you would like to implement an algorithm that tries to solve a problem have a look at this: [URL="http://java-assignment.com/java-heuristic-method-solving.php"]Java N Puzzle - heuristic search algorithms[/URL]
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 still think it is necessary to take some classes to be successful... You …
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, this approval might come at a price.
Here you can download source code that can get you started for a puzzle game: [URL="http://javaschoolsolutions.110mb.com/puzzle.php"]Java puzzle game[/URL] grtz
[QUOTE=masijade;444990]Better would be, to create a jarfile containing the relevant classpath info and such in the Manifest file so that every thing is handled correctly, and then "double-click" that jarfile. Obviously.[/QUOTE] Best is to use ANT to build your projects to jar files. (or maven if you want to take …
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).
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 tomcat installation directory to find more information about the exception that occurs. good …
system independent very portable pure object oriented a lot of open source libraries ...
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 (persistance)
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 [url]http://www.mysql.com/products/connector/j/[/url] Then an exemple code to connect to the database: [INLINECODE]String dbdriver = "com.mysql.jdbc.Driver"; private String connectionstring = "jdbc:mysql://localhost:3306/databasename?user=root&password=yourpwd"; Class.forName(dbdriver).newInstance(); cnn = DriverManager.getConnection(connectionstring);[/INLINECODE]
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 ImageIcon("thepathtoyourimage")); Kind regards, Joe
The End.
schoolsoluction