Τετάρτη 4 Φεβρουαρίου 2009

Always native look & feel

try {
UIManager.setLookAndFeel( UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {
}

from http://www.dimitrisk.gr/blog/?p=8

Πέμπτη 18 Δεκεμβρίου 2008

Java Generics

Java Generics
http://java.sun.com/j2se/1.5.0/docs/guide/language/generics.html

pdf tutorial
http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf

Τρίτη 9 Δεκεμβρίου 2008

Subclipse

http://subclipse.tigris.org/

Subclipse is an Eclipse Team Provider plug-in providing support for Subversion within the Eclipse IDE. The software is released under the Eclipse Public License (EPL) 1.0 open source license.

Παρασκευή 21 Νοεμβρίου 2008

Τετάρτη 19 Νοεμβρίου 2008

Βγήκε η έκδοση 6.5 του Netbeans!

Βγήκε η έκδοση 6.5 του Netbeans!

Κατεβάστε την απο εδώ: http://www.netbeans.org/downloads/

Μερικά features:
* The award-winning NetBeans IDE for Java keeps getting better. New to 6.5: support for Groovy and Grails, built-in support for Hibernate, Eclipse project import, Compile/Deploy on Save, and much more.
* Value Proposition: We continue to build on our award-winning IDE for Java by adding popular new features and improvements. Find out why NetBeans IDE for Java is the right IDE for you- with rich support for ME/SE/EE development and new feature highlights including Groovy and Grails support, built-in support for Hibernate, Eclipse project import/synchronization, Compile/Deploy on Save, and Ajax-enabled JSF CRUD generator.
* Simplify your Python development with the NetBeans IDE for Python- Early Access. This community driven project combines the practical development expertise of Python developers with the experience of IDE development by the NetBeans community.
* Developers can enjoy great editor features such as code completion, semantic highlighting, instant rename, smart indentation, pair matching, and more. The EA release also includes a community developed Python debugger as well as the ability to choose between the Python and Jython runtimes.

Packaging a Java application on Debian

Before packaging your Java program on Debian, be sure you have read the Debian policy for Java, located here:

http://www.debian.org/doc/packaging-manuals/java-policy/index.html

Πέμπτη 16 Οκτωβρίου 2008

Using Streams in Java

If you got confused by the number of streams in Java, check this out:

Using Java Streams: http://docs.rinet.ru/WebJPP/ch13.htm

Input and Output Streams: http://www.iam.ubc.ca/guides/javatut/java/io/index.html

Basic I/O: http://java.sun.com/docs/books/tutorial/essential/io/

Very very fast:

* Byte Streams handle I/O of raw binary data.
* Character Streams handle I/O of character data, automatically handling translation to and from the local character set.
* Buffered Streams optimize input and output by reducing the number of calls to the native API.
* Scanning and Formatting allows a program to read and write formatted text.
* I/O from the Command Line describes the Standard Streams and the Console object.
* Data Streams handle binary I/O of primitive data type and String values.
* Object Streams handle binary I/O of objects.