java - Netbeans Platform's toolbars are black when launching from inside IntelliJ -


i trying port 1 of applications on netbeans platform. since intellij user, prefer work favourite ide - , luckily there tutorials that.

after setting need, building first test application (empty window) wanted go ahead , launch app inside intellij. sadly not easy might sound (or didnt find other way yet) followed this tutorial , created following "starter" class:

/**  * represents starter netbeans platform.  *  * original code of modified class can found @  * <a href="http://netbeans.dzone.com/using-maven-and-intellij-idea">this article</a>.  */ public class netbeansstarter {     private static final string branding = "swordsmith";     private static final string workdir = "application" + file.separatorchar + "target";     private static final string user = workdir + file.separatorchar + "userdir";     private static final string home = workdir + file.separatorchar + branding + file.separatorchar + "platform";       public static void main(string[] args) throws exception {         // cleanup user's cache (otherwise problems arise, cache seems not written correctly).         deleterecursive(new file(user, "var" + file.separatorchar + "cache"));          // set system properties         system.setproperty("netbeans.logger.console", "true"); // logging on console         system.setproperty("netbeans.user", user); // settings stored here         system.setproperty("netbeans.home", home); // netbeans cluster         system.setproperty("sun.awt.keepworkingsetonminimize", "true"); // maven sets per default on starting          // build new arguments list         final list<string> list = new linkedlist<string>();         list.addall(arrays.aslist("--branding", branding));         list.addall(arrays.aslist(args));          main.main(list.toarray(new string[list.size()]));     }      @suppresswarnings("resultofmethodcallignored")     private static void deleterecursive(file ppath) {         if (!ppath.exists()) {             return;         }          file[] files = ppath.listfiles();         if (files == null) {             return ;         }          (file file : files) {             if (file.isdirectory()) deleterecursive(file);             else file.delete();         }     }  } 

however, upon launch being presented screen shows what's wrong it:

the background color of toolbars black

is there i've missed? in advance!

i able fix upgrading 802 version of netbeans platform. seems issue , has been fixed!


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -