Topic archive for
Author Archive
Tuesday, July 20th, 2010
Method chaining in Strings is an exceptional and tricky concept in Java Programming. Method chaining in Strings can be widely used as it can perform various and multiple string operations in single statement. Chained methods may contain all the methods of String class.
By: Vaibhav Pandey in Java
Tuesday, July 6th, 2010
PopUp Menus
Pop-up menus are the menus that are displayed when a user clicks the right mouse button.They are sometimes also known as short-cut menus.Short cut menus are very handy in cases where some functionality you want to provide like adding a help menu to all controls on right click.
Step for creating Pop-up menus:
By: Vaibhav Pandey in Java, Web Development
Tuesday, June 22nd, 2010
Exception handling works by transferring the execution of a program to anappropriate exception handler when an exception occurs. When an unexpectederror occurs in a method ,java creates an object of type Exception .After creating the Exception object ,Java sends it to the program,by anaction called throwing an exception.The exception object contains informationabout the type of [...]
By: Vaibhav Pandey in Java
Tuesday, June 8th, 2010
Inheritance is the core concept of Object oriented programing and Java programming Language. Since every subclass has exclusive rights to use the every resource of its superclass. Constructor of superclass holds important position in this regard. There are many functions a subclass can import by calling the constructor of its superclass. The call to the [...]
By: Vaibhav Pandey in Developers, Java
Tuesday, May 25th, 2010
Java is a common programming language and the basic purpose of Java is to develop network programs. Now it is also used to develop system software’s and programs too. The Java architecture has trade off between speed and efficiency. In case of Java the efficiency beats the speed the execution and rightly so because there [...]
By: Vaibhav Pandey in Developers, Java
Tuesday, April 27th, 2010
The sandbox allows code to be downloaded from any source, but applies restriction on it upon execution. You can also say sandbox isolates particular code during execution to apply the restrictions. A Java sandbox is an area in memory outside which the Java program cannot make calls. This prevents Java programs from being able to [...]
By: Vaibhav Pandey in Java
Tuesday, April 13th, 2010
I don’t think you need to compute your program execution time everytime you execute your program but sometimes when you need to compare performance then it becomes necessary to compute the execution time. When you need to compare two programming styles then you may consider calculating the time required by each program program to complete [...]
By: Vaibhav Pandey in Java
Wednesday, March 31st, 2010
Java is capable of executing threads by starting and running them. Java Programming language also provides you with the ability to start the heavyweight system processes. Threads are lightweight processes and can be called as a subprocess. Executing or starting a System process is completely different than executing a thread.
By: Vaibhav Pandey in Java
Tuesday, March 16th, 2010
Java provides automatic garbage collection,sometimes you will want to know how large the object heap is and how much of it is left. You can use this result to know about the efficiency of your application or program,that is you may come to know how many more objects you can instantiate. To obtain these values [...]
By: Vaibhav Pandey in Java, Open Source
Tuesday, March 2nd, 2010
Swing Buttons provides many exclusive features that are not found in the Button class defined in the AWT package. Swing Buttons are the subclass of AbstractButton class,which extends JComponent. You can always associate an icon of your choice with a Swing Button. The Icons are set as program runs or set when some event is [...]
By: Vaibhav Pandey in Java, Web Development