You can search the code you are looking for in this page, just enter the keywords and select the technology. You may also select the filter type and the sort priority if you want..

Keywords:
Technology:
 

Colors for alternate rows of jtable
The class AlternateTableRowColorRenderer overrides the getTableCellRenderer function. It alternates the color and sets it to the row. To use it, create objet of the class and set it as the property setDefaultRenderer(Object.class,object)
   
Total Views:
4672

Textfield accepting only numeric values
The code for creating a textfield that accepts only numeric values. You can even set the precison and the length of the textfield by changing the attributes.
   
Total Views:
2462

Auto complete data entry in the combo box
Code to auto complete the data in the combobox as they are typed. If any of the elements in the list matches the data you are entering, they will be auto completed. You just need to create a Object of the class JComboBoxAutoCompleter by passing the combobox as argument to the constructor.
   
Total Views:
1956

Calendar component for displaying calendar and selecting a date.
The code contains a class JCalendar. It is a subclass of JDialog and can be used to create a Dialog that will pop up a Calendar. Using the calendar, you can select a date and the selected date can be obtained using calendar.getDate() function. Run the class to check its working.
   
Total Views:
537

Connect to derby database in embedded or client server mode.
class for connecting to the derby database. Just set the appropriate attribute values and call the static getConnection() method to connect to the database. The code is provided for embedded connection and by checking the comment you can set it for client-server mode also.
   
Total Views:
1193

Format date, round float,round bigdecimal values and escape sequences in sql
A class that format the date to the form (Month, day year), round the float and BigDecimal to first two decimal values. It has also the code for escape sequencing the single quotes in the sql string.
   
Total Views:
689

Garbage collection and finalization. finalize() and gc() methods
Code showing the usage of garbage collection in java.It also shows the clean up tasks done in finalize methods and running the finalization.
   
Total Views:
490

Gzip compression algorithm, compressing data stream using gzip
The GZIP interface is simple and thus is probably more appropriate when you have a single stream of data that you want to compress (rather than a collection of dissimilar pieces of data). Here\'s an example that compresses a single file.You should provide the filename as commandline arguments
   
Total Views:
556

Input and output stream classes demo.
The code shows the creation and use of typical IO configurations so you can use it as a reference when writing your own code. Note that each configuration begins with a commented number and title that corresponds to the heading for the appropriate explanation that follows in the text.
   
Total Views:
475

Literals in java, range of primitive data types.
Code shows the literals in java and also the range of char, byte, short,long,float and double datatypes.
   
Total Views:
679

 
Sponsored Links
Search in other technology categories:
Search for the same keywords in other technology categories by clicking the link :
AJAX   C++   Java   Java script   JSP   Perl   PHP   Python   Ruby   VB.net  
Sponsored Links
Hello world !
Show the world you are a better programmer !!

We are introducing Contribution Points which is a parameter measuring your potential, skill and contributions to the programming community.

?
So , What is your rating and how much contribution points have you earned?

Do you want to start earning contribution points?, Its free and easy. Just register as contributor and you will start earning the contribution points as per following criteria:

  • For each code contribution 10 pts
  • For each code request fulfilled 15 pts
  • For each code view 1 pt
  • When your code is rated
  • For replying to code viewers comments/questions

Already a contributor, login into your account to see what is your contribution points

Still not a contributor?, You can register for free now and start building your contribution points.

Request code!! :

Couldn't find the code your were looking for?

You can request for the code.It will be served by contributors of zybocodes community.
Technology Category:
Description of code :
Your email :
 
Latest Codes