Aion-

Aion-

Joined
Sep 04, 2012

Java Code Snippets

Aion- created a Page  -  Dec 20, 2012

This snippet constructs a JButton whose color fades in to black when hovered and fades out to a light grey when the mouse leaves it.

Aion- created a Page  -  Nov 22, 2012

The first method, toLong(String), will convert the provided ip address to its long format. For instance, invoking toLong("255.255.255.255") will return 4294967295 whereas the second method, toString(long), will convert it back as "255.255.255.255", in other words, into a 32bit dotted format.

  1 Thread   Java  
Aion- created a Page  -  Oct 08, 2012
2 662 

This snippet connects to a server and port of your choice and reads input. It does not handle output: you will have to do it yourself. An example will be provided in this description.

Aion- created a Page  -  Sep 14, 2012
407 

This is a Java applet. Move your mouse around to create particles of random colors.

Aion- created a Page  -  Sep 12, 2012
196 

The following snippet returns the shorthand of the given value.

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.