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:
1021
Java SE Tips:
614
Java ME Tips:
201
Java EE Tips:
184
Other API Tips:
779
Java Applications:
298
Java Libraries:
209
Java Games:
16
Book Reviews:
Search
Search Keyword:
Any words
All words
Exact phrase
Ordering:
Newest first
Oldest first
Most popular
Alphabetical
Section/Category
Search Keyword
category
Total 49 results found. Search for [
category
] with
Results 1 - 49 of 49
5
10
15
20
25
30
50
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
3.
How to sort members of a Java compilation unit
(Other API Tips/Eclipse)
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...
6.
How to add your Custom Controls into Eclipse Palette
(Other API Tips/Eclipse)
...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
9.
How to import Contact into phonebook
(Java ME Tips/MIDP)
...nbsp; contact.addTo
Category
("Personal"); ...
10.
Is there a way to restore the default palette?
(Other API Tips/NetBeans)
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
13.
Reading/Modifying Native database of mobile device
(Java ME Tips/MIDP)
...bsp; if (events.maxCategories() != 0 && events.is
Category
("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
15.
How can I set my own colors for each series in my chart?
(Other API Tips/JFreeChart)
..., the following code could be used for a bar chart:
Category
ItemRenderer renderer = plot.getRenderer();  ...
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
20.
How to exceute a batch process from PreparedStatement
(Other API Tips/JDBC)
...nbsp;= conn.prepareStatement( "insert into customer (name,
category
,age) values (?,?,?)"); &n...
21.
ARFF file gives error or fails to load
(Other API Tips/Weka)
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
22.
Creating savepoints for database connections using JDBC
(Other API Tips/JDBC)
...p; String query = "select id,name,
category
,age from customer where age > ?"; &nbs...
23.
How to get auto-generated keys from Java class
(Other API Tips/JDBC)
...; 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
25.
Encrypting/Decrypting text messages with Bouncy Castle Crypto API
(Java ME Tips/MIDP)
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
Category
Manger 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 
29.
Centering a Frame, Window, or Dialog on the Screen
(Java SE Tips/java.awt)
This tip describes how to center a Swing frame, window or dialog on the screen . // Get the size of the screen Dimension di
30.
Determining When a Frame or Window Is Iconized or Maximized
(Java SE Tips/java.awt)
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
33.
Showing a Message in the Browser's Status Bar
(Java SE Tips/java.applet)
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
38.
Java-Tips Partners - Business Partners
(Static Content)
...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...
39.
Java-Tips Partners - Arts and Literature Partners
(Static Content)
...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...
40.
Java-Tips Partners - Health Partners
(Static Content)
... 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...
41.
Java-Tips Partners - Java Blogs
(Static Content)
...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...
42.
Java-Tips Partners - Java Products
(Static Content)
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
43.
Java-Tips Partners - Java Projects
(Static Content)
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
44.
Java-Tips Partners - Business Partners
(Static Content)
...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...
45.
Java-Tips Partners - Arts and Literature Partners
(Static Content)
...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...
46.
Java-Tips Partners - Health Partners
(Static Content)
... 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...
47.
Java-Tips Partners - Java Blogs
(Static Content)
...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...
48.
Java-Tips Partners - Java Products
(Static Content)
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
49.
Java-Tips Partners - Java Projects
(Static Content)
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 >>
Home
-
About Us
-
Privacy Policy
Copyright 2005 - 2008 www.java-tips.org
Java is a trademark of Sun Microsystems, Inc.