RSS RSS feed | Atom Atom feed

One of the many reasons why I develop in Java

Research finds Java code most secure

From www.itweek.co.uk :

New research from software security specialist Fortify reveals that bugs are far less common in Java compared with commercial C/C++ code
Dave Bailey, IT Week, 05 Mar 2007
Application code security specialist Fortify Software will today unveil research from its Java Open Review (JOR) showing that there are "significantly fewer bugs in open-source Java components than in commercial C/C++ programs". Fortify founder Roger Thornton said that the difference was "an order of magnitude fewer".

This is in fact one of the main reasons, I switched from using C/C++ (used it for more than 10 years) in 1995 to Java.

Having to think about memory management, dangling pointers, uninitialized variables distracts you from what you try to achieve.

Also one of the nice things in Java was that everything is what it seems (no preprocessor).

Peter

It's not easy to write website content.

Yesterday, I started to think about the content on my website.

I am a good software writer, but writing copy for a website is not my strong point. (especially when it is not in my native language).

So what kind of keywords would I use ?

www.wordtracker.com to the rescue.

It seems that all the keywords I was thinking about are not what people search for and the keywords that they are searching for have to much competition.

It seems I will have to be very creative with this.

Anyway, I would urge anybody who is serious about his website, to try wordtracker. It really can give you valuable information.

Peter

What is BrainStreamer? You Ask.

BrainStreamer is my view of how a Personal Information Manager should be.

I have tried numerous PIM software but they all don’t work for me.

This is something strange, considering how much PIM software exists out there.

Lees meer...

Forget the Swing HTML Editor

I have changed my mind.

Developing the HTML editor using Swing JTextPane would cost to much time to develop.

I have now bought the HTML Editor from Sferyx.

It looks like it has everything I need.

A simple html editor for java

I am a big Java fan, but sometimes I can get a bit frustrated.

I need a simple html editor for my application. Should something like this be in swing ?

Yesterday I tried to use the HtmlEditorKit. It works for most things, but to let it work in the real world, you need a lot of extra code.

Drag and drop from Ms Word doesn't work out of the box.

It took me some time to figure out that you need to add this:

HTMLDocument doc = (HTMLDocument)textPane.getDocument();
doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
doc.setPreservesUnknownTags(false);

Next, you need to define all the needed actions like :
align, lists, font selection, paragraph type, image and links...

I will need another full day to add these. ( and I lost already a lot of time yesterday ).

Tags :