Skip to main content

Blog Archive for malenkov during April 2009

The Preferences API can be used by applications along with the installed security manager that enables using the preferences permission. However, WebStart-based applications cannot permit preferences only. You can permit all or deny all by using a jnlp-file. So, how to store user preferences for unsigned applications deployed through Java WebStart? Java provides the Preferences API to store and...
I would like to discuss code conventions. In particular, the usage of the this keyword. Recently we have argued with one of my colleagues again. I always use the this.name pattern to access class fields. Whereas he says that I should not differ from everybody else and use this to avoid shadowing only. Let me explain my position on the question. The this keyword is commonly used to access the...
Last week I attended SunTechDays in Saint-Petersburg, which was my third time participating in the conference. It was the only SunTechDays event in Europe this year. I've been working at the JavaSE booth nearby the JavaFX one. It was easy to notice that the JavaFX booth attracted a lot of visitors. There was a big line to play the Puzzle game and to win something. All the competitions are...
The SunTechDays conference will take place in Saint-Petersburg this week. I'm going to participate in it and hold the "Developing Innovative Multimedia JavaFX Applications" seminar together with my colleague. I'll be talking about accessing the web services and deploying applications. My presentation will be based on the WeatherWidget sample that was slightly refactored. So, what kind of weather...