Tag Archives | Java

JSR 296: Swing Application Framework

Dean Iverson just put together an excellent introduction to JSR 296 (Swing Application Framework) over on his blog. For those that don’t know, JSR 296 is an attempt to create a simple application framework to build your Swing applications on top of. Word on the street is that it will be part of the Java [...]

Read full story Comments { 0 }
Nimbus Combo Boxes

Java Swing LNF: Nimbus

There has been some buzz recently surround a new LNF (look and feel) being worked on at Sun called Nimbus. Over all I think it looks fantastic and doing a great-looking LNF is something I’ve always wanted to do, but never set down to actually work on. Here are some quick shots of what Nimbus [...]

Read full story Comments { 2 }

Apple iPhone Does Not Support Java

Well this sucks, apparently Jobs doesn’t think much of Java: Java’s not worth building in [to the phone]. Nobody uses Java anymore. It’s this big heavyweight ball and chain. That’s unfortunate to hear, especially with Java becoming such a ubiquitous language for a lot of software, some really good on the Mac. If he doesn’t [...]

Read full story Comments { 0 }
Synthetica Blueice

JAVASOFT's Synthetica LNF

JAVASOFT has been working on the Synthetica LNF for quite a while and until recently I didn’t think it looked that great… then I had a look at the screenshot page and noticed just how different the LNF can look with different themes and some of the changes look fantastic. You can launch the WebStart [...]

Read full story Comments { 0 }

Top 10 Reasons to Upgrade to Java 6

Awesome matrix of new features and compelling reasons to start using Java 6: Countdown Summary Who’s blogging about it ? Web Services Easy to use APIs for developing web service clients. Rajiv and Bob‘s write first an introduction to web services with NetBeans 5.5 and then building a Java SE 6 client to eBay, included [...]

Read full story Comments { 0 }

Professional Java Swing Interface

Wow, was reading through the Swing Sightings recently and saw the announcement of UltraMixer as the “best looking Swing interface we’ve ever seen”, I have to agree: I think it’s obvious from the website and the interface that this is the result you get when you mix software development with professional graphic artists, so polished. [...]

Read full story Comments { 0 }

Replacing JDK Logging / Log4J / NLOG4J With LogBack

If you are like me, you can’t decide on a logging framework for your Java applications. JDK Logging is so easy, Log4J logging is lauded as a “must-used replacement for JDK “crap” logging” and in one new project I downloaded I noticed the use of SLF4J (Simple Logging Framework for Java) for the first time. [...]

Read full story Comments { 1 }

Generic Comparators in Java

Are you using generics in Java? Are you trying to execute a Collections.sort method call and getting an “unchecked” warning from the compiler? This is something I just had to battle with, and here’s how you do it correctly. First your Comparator needs to specify that it is of the type you will be comparing [...]

Read full story Comments { 14 }

Java Boolean Getters Should Use "get" Prefix, not "is"

Interesting, I always wondered about this. According to this blog entry, all getters and setters that are generated should use the “get” prefix for getters, the only time “is” is allowed according to the spec is when generating a getter for a primitive type. Well, looks like I’ll be cracking open the Refactor > Rename [...]

Read full story Comments { 0 }

JavaCC Grammar for EcmaScript

It looks like the Dojo developers have released a JavaCC Grammar for EcmaScript, more specifically ECMA-262 Standard 3rd edition. Junior developer does a fairly good writeup about it as he’s in the middle of writing a new JavaCC book (not a feat for the weak hearted). For the folks wondering what this is, JavaCC is [...]

Read full story Comments { 0 }
Eclipse 3.2 on Swing with Napkin LAF

Eclipse 3.2 Running ontop of Swing

Well the “Eclipse on Swing” discussion is heating up again. I have to admit that I do not see the allure to this. Assuming of course there is some benefit to doing this port, by the time it reaches parity with native SWT/JFace I imagine both Swing and SWT will be fast/flexible enough that no [...]

Read full story Comments { 0 }

What are closures in Java?

I first ran across an explanation of this new buzzword for Java 7 in the JavaLobby front page. I saw Rick’s comments about Neal’s ability to describe complex topics easily so I went ahead and clicked over to his explanation of what colsures are and why I should care. 10 minutes later I was completely [...]

Read full story Comments { 4 }

Worst toString method ever

Erik threw up a post with the worst toString() method he’s ever run into… I have to admit, this is pretty incredible: public String toString() { if (this != null) return “**** implement me”; return “i am null”; } That is like set-yourself-on-fire-and-do-society-a-favor terrible. If this != null on a non-static method? Nice. Maybe the [...]

Read full story Comments { 0 }

New Rails-like Java web development stack: Project Able

For those of you out there that hate needing to dig through all 6 million Java web frameworks to pick all the pieces together to assemble a web application, but also hate AppFuse, there is a new development stack available to you: Project Able. Able uses the following components/tools: WebWork web MVC framework SiteMesh for [...]

Read full story Comments { 0 }