Jump to content











Photo
- - - - -

Resources for Java programmers


  • Please log in to reply
1 reply to this topic

#1 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10544 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 01 August 2010 - 03:18 PM

Following the example set by Wonko ( http://www.boot-land...showtopic=12141 ) I'm posting here my personal list of links that I found to be useful while learning to program in Java (and still use today whenever I need to remember some detail).

If you have an interest in using Java, some of the links might certainly help you getting started.

In case you more links of interest, you're more than welcome to mention them.

---------- Websites:
http://java.sun.com/...l/essential/io/

---------- Strings
Find elements in arrays: http://www.kodejava....amples/255.html
Read a string line by line: http://www.java-tips...ne-by-line.html
Iterating all lines in a string: http://www.devdaily....for-loop-syntax
Converting Int to String: http://www.java2s.co...inttostring.htm
Converting String to Int: http://www.java2s.co...stringtoint.htm
Convert Long to String: http://it.ibluespace...gConverter.html
Convert String to Long: http://devdaily.com/...pjqa00011.shtml
Human readable file size: http://www.discursiv...n-readable.html
Read text file on single line of code/wrap text to jLabel: http://fauzilhaqqi.n...xt-into-jlabel/
Reading CSV files quickly: http://www.guj.com.b...ist/124679.java

---------- File manipulation
Getting file size: http://www.idevelopm...SizeOfFile.java
Get or set modification time: http://www.idevelopm...cationTime.java
Fetch the entire contents of a text file, and return it in a String: http://www.javapract...Action.do?Id=42
Watching a folder (JDK7): http://java.sun.com/...tification.html
Detect drives: For(File drive : File.listRoots() ) System.out.println(drive);
List files in directory: http://www.java-tips...cular-dire.html
Recursive file find: http://snippets.dzon...posts/show/1875
Deleting file: http://www.java2s.co...mwithinJava.htm
Is directory transversable (can be written): http://www.javadocex...raversable:File
Get last modification date of file: http://www.kodejava....xamples/68.html
Reading and writing text files: http://www.javapract...Action.do?Id=42
Load a text file as a string: http://snippets.dzon...posts/show/4480
Path operations: http://java.sun.com/...io/pathOps.html
Create file with given size: http://stackoverflow...en-size-in-java
File modification date: http://www.rgagnon.c.../java-0490.html
Reading and Writing binary structures to files: http://www.particle....leBinaryIO.html
Getting MIME type: http://www.rgagnon.c.../java-0487.html
Several interesting manners of reading a file: http://nadeausoftwar...d_files_quickly
Reading a binary file (better): http://donaldson.org...aton/index.html

---------- Security
SHA-2 checksum: http://www.mkyong.co...ashing-example/
PE file header documentation: http://msdn.microsof...e/cc301805.aspx

---------- Internet
Launch a web link in default browser: http://www.centerkey.com/java/browser/
Is Internet reachable? : http://stackoverflow...tion-using-java
Reading text file from an Internet location: http://www.devdaily....du/pj/pj010023/


---------- Desktop / UI
Icons on desktop: http://blog.alexonrails.net/?p=222
Online convert of icons: http://iconverticons.com/
Creating a bundled Java app for OSX (very good): http://developer.app.../Packaging.html
No resize of frame & no maximize button: http://www.rgagnon.c.../java-0252.html
System tray support for OSX >1.5.x: https://jdic.dev.java.net/
Refresh UI elements: http://forums.sun.co...D...11&tstart=0
Directory select menu: http://www.javalobby.../m91980875.html
Show Dialog message: http://www.roseindia...DialogBox.shtml
Native UI Look and Feel: http://today.java.ne...2/08/swing.html
Force jTextArea scroll to bottom line automatically: http://www.coderanch...toscroll-bottom


---------- Objects
jTable - editing cells - http://www.javalobby...rticles/jtable/
jTable - tutorial and examples - http://download.orac...html#editrender
jTable - dynamically adding data - http://forums.java.n...?threadID=43151
jTable - Adding a popmenu - http://www.devdaily....opupmenu-jtable
jTable - Selecting a row with the right click mouse button - http://www.stupidjavatricks.com/?p=12
jTable - clear all rows on table - http://www.velocityr...-of-jtable.html
jTable - listeners (for actions) - http://download.orac...nents/menu.html

---------- System
Multiple threads: http://www.scoug.com...avathreads.html
Stopping a thread: http://forward.com.a...topAThread.html
Updating swing element from within a thread: http://www.java2s.co...ngandthread.htm
Sqlite Java implementation: http://www.sqljet.com/ (misc wrappers): http://www.sqlite.or...=SqliteWrappers
Build to single jar: http://java.sun.com/...use/single_jar/
Packaging a redistributable app: http://wiki.netbeans...ibutableJavaApp
Counting time between operations: http://www.velocityr...gle-string.html
Defining global variables: http://www.glenmccl.com/tip_002.htm
Generate CPU Load: http://stackoverflow...pu-load-in-java
Get available memory for Java: http://blog.codebeac...ry-in-java.html

---------- Obfuscation
http://proguard.sourceforge.net/


---------- Servers
DNS servers in Java:
http://jdnss.sourceforge.net/
http://www.xbill.org/dnsjava/
Java PHP server: http://www.caucho.co...oc/starting.xtp
Google Apps Engine:
-- Netbeans support: http://kenai.com/pro...gine/pages/Home
-- Running wordpress with mySQL workaround: http://www.caucho.co...rcus_on_GAE.pdf
-- SQL server in pure Java (provides mySQL interface): http://www.h2databas.../html/main.html
-- Jiql (direct wrapper between google DB and JDBC): http://docs.google.c...j_2ghr8q9f3#PHP
-- HSQL in JBoss - http://community.jboss.org/wiki/HowtoUseHS...sRightWay\
Mysql support: http://www.kitebird....icles/jdbc.html

Lucene search engine: http://wiki.apache.org/lucene-java

---------- OS specific
Detect OS in Java: http://www.mkyong.co...propertyosname/
Package once, deploy everywhere: http://izpack.org
Windows, detect all drive types and partitions: http://forums.sun.co...335914#10335914
Create symbolic links on unix/mac: http://www.macosxhin...001110610290643
Importance of adding \r\n when writing text files from strings: http://en.wikipedia.org/wiki/Newline
Environment variables in windows: http://www.wilsonmar.com/1envvars.htm
Reading environment variables: http://www.rgagnon.c.../java-0150.html
Localized folders in Ubuntu: http://simos.info/blog/archives/9

---------- Others
Count time of function: http://stackoverflow...omplete-in-java
Convert time from seconds: http://answers.yahoo...05173323AArLUVA

---------- Images
Rotating GIF inside Java UI: http://forums.sun.co...hreadID=5417192

#2 giammy

giammy
  • Members
  • 2 posts
  • Location:Italy
  •  
    Italy

Posted 01 August 2010 - 06:30 PM

hi,

interesting links: I would add another one
for beginners:

http://www.mindview.net/Books/TIJ/

it's the book I used to start programming Java
(and the author made it freely downloadable!)

bye
giammy




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users