java left logo
java middle logo
java right logo
 


 
 
Main Menu
Home
Java Tutorials
Book Reviews
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Java Network
Java Forums
Java Blog




Most Visited Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews
Top Rated Tips
Java SE Tips
Java ME Tips
Java EE Tips
Other API Tips
Java Applications
Java Libraries
Java Games
Book Reviews


Statistics
Registered Users: 4097
Java SE Tips: 614
Java ME Tips: 202
Java EE Tips: 183
Other API Tips: 779
Java Applications: 298
Java Libraries: 209
Java Games: 16
Book Reviews:
 
 
 
Search
Search Keyword category
Total 49 results found. Search for [ category ] with Google

Results 1 - 49 of 49
1. Wrap a Java beans in a COM object
(Other API Tips/JNI)
In a previous tip, we used a Microsoft utility to enable access to Java objects from a COM-aware development tool. Sun provides a similar tool but you must package everything in a jar file and use the

2. How to write Finalization Code in Java
(Java EE Tips/Enterprise Java Beans)
Every class inherits finalize() method from Object class and method is usually called by the garbage collector when ensures that no more references to the object exist .object class finalize method pe

You can sort members of a Java compilation unit according to a category order defined in the Java > Appearance > Members Sort Order preference page. You'll find the action under Source > Sort Membe

4. Introducing Annotations
(Java SE Tips/java.lang)
...ls the compiler not to warn you about something that it would normally warn you about. Warnings belong to a category, so you have to tell the annotation what types of warnings to suppress. The javac c...

5. How to decrease NetBeans startup time
(Other API Tips/NetBeans)
... Options | IDE Configuration | System | Modules: Everything from J2EE - can be disabled as a whole category Everything from Database - can be disabled as a whole category Everything fro...

...pse: eclipse\plugins\org.eclipse.ve.swt_1.1.0.1\palette\palette.properties: First of all make a Category of the Controls like in-built “SWT Controls, SWT Containers”. E.g. if you want to m...

7. Log4j: A Debugging Perspective (Part1)
(Java Tutorials/Tutorials)
...the time being consider it as an indicator to that this particular logging message belongs to the debugging category of log messages. More about this later. MyClass: This is the name of the logge...

8. Latest Additions - 02.02.06 (53 new tips)
(Newsflashes/NewsFlashes)
Java SE Tips / java.rmi How to define and export a remote object How to invoke a method on a remote object Java SE Tips / java.util How to generate a random number How to im

...nbsp;               contact.addToCategory("Personal");           ...

If you delete some category or beans from the default Palette content (either accidentally or intentionally), you can restore it as follows: Exit the IDE. Go to your user directory and

11. Latest Additions - 19.01.06 (57 new tips)
(Newsflashes/NewsFlashes)
...source in EJB Using different data sources for different users New Categories in Java Applications Category Text Editor Parser Generator ...

12. Latest Additions - 15.12.05 (100 new tips)
(Newsflashes/NewsFlashes)
Java SE Tips / java.lang What is a Java compiler What is Java source code What is Java bytecode What is a Java Virtual Machine What is the Java Runtime Environment What is Jav

...bsp;     if (events.maxCategories() != 0 && events.isCategory("Reminder"))         event.addToC...

14. Latest Additions - 05.12.05 (180 new tips)
(Newsflashes/NewsFlashes)
Java SE Tips / java.lang How to print classpath Java SE Tips / java.awt.print How to display a Print Dialog in an application How to display the page format dialog How t

..., the following code could be used for a bar chart:     CategoryItemRenderer renderer = plot.getRenderer();    &nbsp...

16. Latest Additions - 17.11.05 (60 new tips)
(Newsflashes/NewsFlashes)
Java SE Tips / java.awt.font How to gather the font families that are available for use How to draw text on a Component How to draw a text with mixed styles on a component Java

17. Latest Additions - 11.11.05 (70 new tips)
(Newsflashes/NewsFlashes)
Java SE Tips / java.lang How to use getenv() in Java SE 5.0 Introduction to Autoboxing Using the VarArgs Language Feature The Enhanced For Loop Introduction to Autoboxing Cov

18. JAlbum
(Java Applications/Photo Album Software)
...akes web albums of your digital images. JAlbum aims to be the easiest to use and most powerful tool in this category - and free! With JAlbum, no extra software is needed to view the albums, -just ...

19. Latest Additions - 04.11.05 (80 new tips)
(Newsflashes/NewsFlashes)
Java SE Tips / java.lang How to use generics Variable arity methods Covariant return types Java SE Tips / java.io Implementing a file browser in Java

...nbsp;= conn.prepareStatement(     "insert into customer (name,category,age) values (?,?,?)");        &n...

Weka is a collection of machine learning algorithms for data mining tasks. The algorithms can either be applied directly to a dataset or called from your own Java code. Weka contains tools for dat

...p;    String query =      "select id,name,category,age from customer where age > ?";  &nbs...

...;       query = "insert into customer (name,category) "+     "values ('name1','temp')"; &n...

24. Mckoi SQL Database
(Java Applications/Database Engine)
Mckoi SQL Database is an SQL (Structured Query Language) Database management system written for the Java platform. Mckoi SQL Database is optimized to run as a client/server database server for mul

Bouncy Castle Crypto API is a lightweight cryptography API in Java. It also have a J2ME version. This tip will give you an example of encryption and decryption of messages using Bouncy Castle Cr

26. eAdmin / OWX
(Java Applications/CMS/Portal)
..., Dates etc.) Searcher for searching multilanguage content FileManager for management of available files CategoryManger for management of multiple category-trees UserManger for management of users...

27. Centering application on the screen
(Java SE Tips/javax.swing)
Centering an application (window, frame or dialog) can be done with the following codes: // Get the size of the screen Dimension&nbs

28. Simulating Mouse and Key Presses
(Java SE Tips/java.awt)
The following example shows how to simulate mouse and key presses in Java using java.awt.Robot class. try {     Robot robot&nbsp

This tip describes how to center a Swing frame, window or dialog on the screen . // Get the size of the screen Dimension di

Iconification and maximization events for a frame or window can be detected by adding a java.awt.event.WindowStateListener instance to that frame. // Creat

31. Loading and Drawing an Image in an Applet
(Java SE Tips/java.applet)
Loading an image in an applet can be done in its load method. After init method is called by the browser automatically at initialization of the applet, we can draw loaded image in paint method

32. Playing Audio in an Applet
(Java SE Tips/java.applet)
Playing an audio clip in a Java applet can be done as shown in the following example. public void init() {     // Load

Showing a message in the browser's status bar can be easily done by calling showStatus method of the applet as shown in the following example. applet.showStatus

34. Getting an Applet Parameter
(Java SE Tips/java.applet)
The html code below shows how an applet parameter would be specified in an HTML file. <applet code=AppletClassName width=120 height=120>  

35. Deserializing an Object
(Java SE Tips/java.io)
Serializing/Deserializing objects is very useful if you want to use a Java object in the future. The following code shows how to deserialize a serialized object. try&nb

36. Writing to a File
(Java SE Tips/java.io)
Writing to a file in Java can be done as follows: try {         BufferedWriter out = new BufferedWrite

37. Reading a File into a Byte Array
(Java SE Tips/java.io)
Reading a file into a byte array can be done as follows:     public static byte[] getBytesFromFile(File file) throws I

...ortunities. But where can you find all these? The answer is simple – right here. The Business Partners category presents you a wide selection of sites that are full of business ideas and business...

...n art and literature can be found online, on highly specialized and professional sites. By viewing this category, you may find a wide range of such sites that are focused on the most popular leisu...

... as medical conditions, affections, causes and symptoms and, even more valuable, about treatments. This category gathers numerous valuable sites that are focused on a variety of medical topics. Ja...

...nformation about any type of subject, especially when talking about technology related ones. The Java Blogs category includes a selection of the best Java weblogs that are ready to inform regarding th...

Java products category welcomes your initiatives of starting a Java project or of simply keeping in touch with the latest innovations on the Java programming language market and corresponding products

Java Projects category includes a great selection of sites that are focused on helping you get your Java project started or simply on providing useful information for individuals like yourself. In oth

...ortunities. But where can you find all these? The answer is simple – right here. The Business Partners category presents you a wide selection of sites that are full of business ideas and business...

...n art and literature can be found online, on highly specialized and professional sites. By viewing this category, you may find a wide range of such sites that are focused on the most popular leisu...

... as medical conditions, affections, causes and symptoms and, even more valuable, about treatments. This category gathers numerous valuable sites that are focused on a variety of medical topics. Ja...

...nformation about any type of subject, especially when talking about technology related ones. The Java Blogs category includes a selection of the best Java weblogs that are ready to inform regarding th...

Java products category welcomes your initiatives of starting a Java project or of simply keeping in touch with the latest innovations on the Java programming language market and corresponding products

Java Projects category includes a great selection of sites that are focused on helping you get your Java project started or simply on providing useful information for individuals like yourself. In oth

<< Start < Prev 1 Next > End >>

 
       
         
     
 
 
 
   
 
 
java bottom left
java bottom middle
java bottom right
RSS 0.91 FeedRSS 1.0 FeedRSS 2.0 FeedATOM FeedOPML Feed

Home - About Us - Privacy Policy
Copyright 2005 - 2008 www.java-tips.org
Java is a trademark of Sun Microsystems, Inc.