Posts

Showing posts with the label jdk

16 NetBeans Shortcut Keys for Code Editing

Image
Do you know that shortcuts help you accelerate your development productivity? Indeed, the more time you use keyboards, the higher efficiency you get. Therefore today I’m going to share with you the common shortcut keys which are designed for editing code in NetBeans IDE. NOTE: Standard shortcuts are not covered, such as Ctrl + Space (auto-complete), Ctrl + A (select all), Ctrl + Z (undo), and the like. Ctrl + E or Shift + Delete : deletes the current line. Ctrl + Delete: deletes the next word after the cursor. If it is a compound (i.e. using camel case like fileHandler), then only the first word is deleted. Ctrl + Backspace: deletes the previous word before the cursor. Alt + Shift + Up: Moves up the current line (or a selected block of code) by one line:   Alt + Shift + Down: Moves down the current line (or a selected block of code) by one line: Ctrl + Shift + Up: Copies and moves up the current line (or a selected block of code) by one line:   Ctrl + Shift ...

Java Development Kit (JDK)

The Java Development Kit comes with a collection of tools that are used for developing and running Java programs.  The tools included in JDK are: Appletviewer Javac Java Javap Javah Javadoc Jdb Appletviewer -  Uses for running Java applets without using a Java compatible browser. Java -  It is Java interpreter,  which runs applets and application by reading and interpreting bytecode files. Javac -  It is Java compiler, which translates Java source code to bytecode files that interpreter can understand. Javadoc -  Creates HTML-format documentation from Java source code file.  javah -  Produces header files for use with native methods. Javap -  Java disassembler, which enables us to convert bytecode files into a program description. Jdb -  Java debugger, which helps us to find error in our programs.