Tag Archives: netbeans

Configure Xdebug on Netbeans 8 for PHP CLI

XDebug integration with Netbeans has always been flaky for me. It works one minute, and not the next time round. In this post, I’ve outlined some simple and robust steps to get XDebug working with Netbeans 8 on Ubuntu 14.04.


Membuka Actived TopComponent pada Action Netbeans Platform

Jadi… yang namanya action di Netbeans Platform, emang dimaksudkan buat hal2 yang sifatnya universal, kayak copy-paste, nampilin Wizard, dan hal2 sejenis lainnya. Cuma ajah, kadang kita nemu kasus khusus yang musti ngebikin kita ngebentuk satu tombol buat beberapa aksi berbeda, tergantung window yang aktif. Kalo udah kayak gini, banyak hal bisa kamu lakuin, salah satu […]


Netbeans 8.1 Beta released!

NetBeans IDE 8.1 Beta provides out-of-the-box code analyzers and editors for working with the latest Java 8 technologies–Java SE 8, Java SE Embedded 8, and Java ME Embedded 8. The IDE also has a range of new tools for HTML5/JavaScript, in particular for Node.js, KnockoutJS, and AngularJS; enhancements that further improve its support for Maven […]


NB: How to create a context sensitive action within a submenu

Today somebody asked “how create a context sensitive action with a submenu in the project-view?” in the NetBeans mailing list. So I figured it out and I like to document it using this post. First here is the action for the submenu. The action is registered to the project context menu. It uses the Presenter.Popup […]


Drop connection from mysql

Script to create database school. CREATE DATABASE school; Script to create, insert and return data from student table — Create table CREATE TABLE student ( id int NOT NULL AUTO_INCREMENT, FirstName varchar(255) NOT NULL, PRIMARY KEY (id) ); — Insert data; INSERT INTO student(FirstName) values(‘Sara’); INSERT INTO student(FirstName) values(‘Kyle’); INSERT INTO student(FirstName) values(‘John’); — Access […]


SitePoint Smackdown: Atom vs Brackets vs Light Table vs Sublime Text

via SitePoint Smackdown: Atom vs Brackets vs Light Table vs Sublime Text.

A new breed of editor has arrived. It fills the gaping void between basic text applications (Notepad, TextEdit, gedit, etc.) and full Integrated Development Environments (VisualStudio, Eclipse, NetBeans etc.) Simpler applications lack basic development requirements such as multiple documents, line numbering and code coloring. IDEs tend to be monolithic applications which cater for a specific language, framework or platform.

This review considers sophisticated code editors with the following criteria. All must be:

  1. Suited to web development
  2. Cross-platform and work on Windows, Mac and Linux. Your preferences and settings should be available regardless of which OS you’re using.
  3. General-purpose text editors which support typical web languages. You should be able to use the same application for HTML, CSS, JavaScript, PHP, Ruby, SQL, markdown and more.
  4. Highly customizable with cross-platform plugins and themes.
  5. Fast and stable. Launching should never be a once-a-day dread like some IDEs.
  6. Immediately usable without a steep learning curve or having to remember numerous keyboard shortcuts.

Part 1: Java 7: File Filtering using NIO.2

via Java and ME: Java 7: File Filtering using NIO.2 – Part 1.

Hello all. NIO.2 is a new API for I/O operations included in the JDK since Java 7. With this new API, you can perform the same operations performed with java.io plus a lot of great functionalities such as: Accessing file metadata and watching for directory changes, among others. Obviously, the java.io package is not going to disappear because of backward compatibility, but we are encouraged to start using NIO.2 for our new I/O requirements. In this post, we are going to see how easy it is to filter the contents of a directory using this API. There are 3 ways in order to do so, that’s why this post is Part 1.

What you need
NetBeans 7+ or any other IDE that supports Java 7
JDK 7+