Latest Java Code Snippets

Popular / Snippets

snetlabs created a Page  -  Oct 09, 2023

Cloud software solutions refer to software applications and services that are hosted and run on cloud infrastructure rather than on local servers or individual devices. These solutions leverage the cloud's scalability, flexibility, and accessibility to deliver various benefits to users and organizations. Here are some key aspects and examples of cloud software solutions:

 Respond   Java  
chuyennhuong created a Page  -  Jun 14, 2023

Đến với trang,bạn sẽ biết được những thông tin và thu nhập được những tin tức nóng hổi nhất hiện nay. Bạn sẽ biết được phong độ hiện tại,những bàn thắng mà cầu thủ yêu thích của mình thực hiện trong thời gian này. Chuyển nhượng là một trang cung cấp những thông tin về những bản hợp đồng chuyển nhượng..

 Respond   Java  
awgladstone created a Page  -  Feb 28, 2019

This article is aimed at giving a Java implementation for pattern printing.

 Respond   Java  
TheBrohman created a Page  -  Jan 25, 2015

Hello! So, I am making my own mod, and I need to edit a bit of the MC sourcecode (not much just add an item to a mob's drop), but I don't know how I can edit them. I tried searching up some guides but I didn't find any good ones.

  1 Thread   Java  
making created a Page  -  Sep 05, 2014

Count active requests with Spring Boot

 Respond   Java  
nchalon created a Page  -  Jul 23, 2014
1 119 

For a personal project i needed to have a quick and easy system to save settings from a JFrame to preferences node using jdk preference api.

  1 Thread   Java  
berend created a Page  -  Dec 21, 2013

The hangman game!

AtomTheMan created a Page  -  Feb 28, 2013

Simple Code

  1 Thread   Java  
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.

berend created a Page  -  Dec 14, 2012
1 275 

Java code to read cookies, part of my WebAdmin project at BMT ARGOSS.

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("") will return 4294967295 whereas the second method, toString(long), will convert it back as "", 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

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

Aion- created a Page  -  Sep 12, 2012

The following snippet returns the shorthand of the given value.

Matcou created a Page  -  May 16, 2012
1 171 

I had convert() as a static method before, but I've changed it prior to uploading. The computer I'm on doesn't have any IDE and I can't be bothered compiling and running through a CLI, so I hope it works (it seems like it should :P).

pickle16 created a Page  -  Dec 13, 2010

meh just a snake game....i made this like a year ago when i was just learning java ;p

keli_26 created a Page  -  Jul 22, 2010

create a maplet class and get URL parameter and put them in database by using JDBC and sql .maplet is a framework base on MVC. It make project shorter and cleaner. Since you dont need to create a sevlet for each jsp and you can process several jsp request in one maplet. Also it carry the URL from first request to the end of the pageworkflow. to use this snippet please download shine pattern and add..

  1 Thread   Java  
#Warizardworks created a Page  -  Feb 24, 2010

Hey guys, it's WP (Wariopower).

miniCruzer created a Page  -  Jul 02, 2009

Just an idea I got from another post on this site, and remade it myself. Suggestions? Comments? Thanks!

tv3636 created a Page  -  May 30, 2009

This is my final project for APCS (Advanced Placement Computer Science). It's currently unfinished, we (my partner and I) still need to add a crash sequence as well as some modifications to make the game more difficult. Anyway, you can play this by copying the code below and pasting into JCreator or downloading the .zip with an .exe file and the images used in the game here:Helicopter Game .zip

supafreky created a Page  -  Jan 24, 2009

Connects to an IRC server you specify and idles. Basically this is a frame for an IRC bot.

^Neptune created a Page  -  Nov 20, 2008
informaticar created a Page  -  Sep 28, 2008
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.