932
I Use This!
Activity Not Available

News

Analyzed 4 months ago. based on code collected almost 5 years ago.
Posted over 9 years ago
So you're working on your NetBeans Platform application and you notice that when you right-click on tabs in the predefined windows, e.g., the Projects window, you see a long list of popup menus. For whatever the reason is, you decide you ... [More] don't want those popup menus. You right-click the application and go to the Branding dialog. There you uncheck the checkboxes that are unchecked below: As you can see above, you've removed three features, all of them related to closing the windows in your application. Therefore, "Close" and "Close Group" are now gone from the list of popup menus: But that's not enough. You also don't want the popup menus that relate to maximizing and minimizing the predefined windows, so you uncheck those checkboxes that relate to that: And, hey, now they're gone too: Next, you decide to remove the feature for floating, i.e., undocking the windows from the main window: And now they're gone too: However, even when you uncheck all the remaining checkboxes, as shown here... You're still left with those last few pesky popup menu items that just will not go away no matter what you do: The reason for the above? Those actions are hardcoded into the action list, which is a bug. Until it is fixed, here's a handy workaround: Set an implementation dependency on "Core - Windows" (core.window). That is, set a dependency and then specify that it is an implementation dependency, i.e., that you'll be using an internal class, not one of the official APIs. In one of your existing modules, or in a new one, make sure you have (in addition to the above) a dependency on Lookup API and Window System API. And then, add the class below to the module: import javax.swing.Action; import org.netbeans.core.windows.actions.ActionsFactory; import org.openide.util.lookup.ServiceProvider; import org.openide.windows.Mode; import org.openide.windows.TopComponent; @ServiceProvider(service = ActionsFactory.class) public class EmptyActionsFactory extends ActionsFactory { @Override public Action[] createPopupActions(TopComponent tc, Action[] actions) { return new Action[]{}; } @Override public Action[] createPopupActions(Mode mode, Action[] actions) { return new Action[]{}; } } Hurray. Farewell to superfluous popup menu items on your window tabs. In the screenshot below, the tab of the Projects window is being right-clicked and no popup menu items are shown, which is true for all the other windows, those that are predefined as well as those that you add afterwards: [Less]
Posted over 9 years ago
Prior Java EE 5 (2006, see the whole history in: http://realworldpatterns.com) your application code had to realize J2EE interfaces and was forced to implement several infrastructural methods. The amount of plumbing was significant and the business ... [More] logic was hard to understand. With the introduction of annotations in JDK 1.5 and the introduction of Dependency Injection paired with Convention over Configuration in Java EE 5 your application code is only dependent on annotations which are comparable to the Marker Interface pattern. Java EE 6 went even further, so you can implement large portions of business logic without being even dependent on any Java EE annotations. Also the main goal of the outdated http://www.corej2eepatterns.com was the separation of "clean" business logic and the "polluted" J2EE infrastructure. Now the majority of the J2EE patterns solves no more existing problems, mostly problems being already solved in the recent Java EE releases. With Java EE 5+ any attempt to separate your business logic from Java EE infrastructure will result in empty delegates, parallel and identical object hierarchies, increased complexity and harder maintainability. Stop plumbing, focus on business logic and added value to your customers :-) See you at Java EE Workshops at MUC Airport or on demand and in a location very near you: airhacks.io! Real World Java EE Workshops [Airport Munich]> [Less]
Posted over 9 years ago
Continuing a series of articles focusing on NetBeans users and their five favorite NetBeans IDE features, here's the next part, by Simon Martinelli. -- NetBeans team. Preview Text:  Polyglot language ... [More] support, the myriad "out of the box" features, support for Maven and other build tools, "beginner friendliness", and JPQL code... [Less]
Posted over 9 years ago
Sin IDE is... a super slick and snappy mashup of Sublime Text + IntelliJ IDEA + NetBeans IDE. Click to get a fuller picture: Featuring a firy brew of free and out of the box tools for seamless work with Git, Mercurial, Subversion, Maven ... [More] , Gradle, Java, JUnit, TestNG, FindBugs, Java EE, JavaFX, Java Profiler, Tomcat, TomEE, GlassFish, WildFly, WebLogic, MySQL, Oracle DB, Java Derby, embedded JavaFX WebKit browser, AngularJS, KnockoutJS, RequireJS, NodeJS, Bower, Karma, Grunt, HTML5, CSS3, JavaScript, Chrome Developer Tools, PhoneGap/Cordova, IoT, Oracle Cloud, Raspberry Pi, PHP, C/C++ and much much more, the top ten of which are here. Promo material consists of a t-shirt featuring a laughing demon on the front and the logo "So good, it's sinful" on the back in flames... [Less]
Posted over 9 years ago
Continuing a series of articles focusing on NetBeans users and their five favorite NetBeans IDE features, here's the next part, by Tim Boudreau. -- NetBeans team. My name is Thorsten Marx and I’m working as product manager and developer at e-Spirit ... [More] AG in Germany. Preview Text:  Maven, Bugzilla/JIRA, Profiler, project views, FindBugs, Sonar...... [Less]
Posted over 9 years ago
ping is a Java EE 7 application which provides app server health-checks exposed as REST services. floyd is the corresponding Java FX client (a single, self-contained jar) which searches for ping services in the network and visualizes the health ... [More] (CPU, Memory, Ping Time) conveniently. The first version is available for download. After the download execute: java -jar floyd-app.jar with Java 8. See you at Java EE Workshops at MUC Airport or on demand and in a location very near you: airhacks.io! Real World Java EE Workshops [Airport Munich]> [Less]
Posted over 9 years ago
Good news out there. The recent nightly builds of NetBeans (apparently upcoming 8.0.1) already contain the latest WildFly Plugin. So you don't need to add it manually and can start working with your favorite application server right away. Try it out ... [More] and grep the latest nightly build. Please keep in mind, that the nightly builds are developer builds and shouldn't be expected to be stable. ... [Less]
Posted over 9 years ago
Articles Top 10 NetBeans Features According to its Users Culled from blogs, articles and social media, NetBeans users from around the world share their favorite features in the IDE and the impact on their daily development tasks and ability to ... [More] learn new technologies and languages. Preview Text:  In this issue: NetBeans testimonials from users... [Less]
Posted over 9 years ago
Hear the news: Sources in ZIP format are back! My Hudson server crashed in early months of 2014. I had to configure it from scratch. While doing so, I forgot to configure the job to produce apidesign.zip file with sources. Has anyone noticed? Nobody ... [More] sent me an email! Just yesterday Jáchym, my co-worker, who I torture by forcing him to read TheAPIBook and become good API designer, stopped in my office and timidly asked: Where can I get the sources? There is no ZIP file! For a while I tried to blame him for not using Mercurial, but after a while I realized the problem is on my side. As a result, the zip file with sources is back as of Aug 8, 2014. Will anyone use them? It would be nice as reading Practical API Design book without having whole sources at your hand is like trying to understand Swing just by reading its Javadoc. --JaroslavTulach 11:16, 8 August 2014 (UTC) [Less]
Posted over 9 years ago
Continuing a series of articles focusing on NetBeans users and their five favorite NetBeans IDE features, here's the next part, by Tim Boudreau. -- NetBeans team. Preview Text:  Hippie completion, Maven ... [More] , NodeJS, and a handy list of code templates provided in the latest article in the series on 5 favorite NetBeans features, this time by NetBeans... [Less]