Jump to content


Cool Programs


  • Please log in to reply
4 replies to this topic

#1 lightstorm21

lightstorm21

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 22 September 2008 - 05:02 PM

Hey can you guys post some of your coolest and most interesting programs, I want to see all the things java is capable of doing. Thanks

#2 ami

ami

    Advanced Member

  • Members
  • PipPipPip
  • 86 posts
  • Gender:Male
  • Location:Poland

Posted 27 September 2008 - 09:39 PM

Which version of Java have you got?

System.out.println("I've got Java " + System.getProperties().getProperty("java.version"));

#3 lightstorm21

lightstorm21

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 29 September 2008 - 05:41 PM

I've got Java 1.6.0_06

#4 ami

ami

    Advanced Member

  • Members
  • PipPipPip
  • 86 posts
  • Gender:Male
  • Location:Poland

Posted 11 October 2008 - 07:19 PM

Have you seen serializing with XStream? It's really easy and cool! Just write:

XStream xstream = new XStream();
String xml = xstream.toXML(YourObject);

Simple, isn't it? :-)

#5 SMARTY

SMARTY

    Member

  • Members
  • PipPip
  • 26 posts
  • Gender:Female

Posted 09 May 2009 - 08:19 PM

Ami be clear
QUOTE (ami a.k.a. kamil @ Oct 12 2008, 12:49 AM) <{POST_SNAPBACK}>
Have you seen serializing with XStream? It's really easy and cool! Just write:

XStream xstream = new XStream();
String xml = xstream.toXML(YourObject);

Simple, isn't it? :-)


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. :)