Thinking Out of the Box

Posts Tagged ‘Java’

Java Swing Survival Guide for User Interface Developers

Simon Albers

When developing graphical user interfaces (GUI) with Java Swing one tends to stumble upon surprising effects and problems, often wondering about the cause behind the effect. Ignoring background mechanics like database integration or the modelling of business logic, the effects in question regard windows and components right in front of you: the part of the software that the user will actually see and look at. To illustrate this further a simple but effective test-application was written that for all intents and purposes compares to applications out in the real world – allowing for enough room to optimize while making it easy to investigate the phenomena.

read more…

Developing (a bit more) Look & Feel aware Java Swing code

Patrick Decker
Patrick Decker
May 30th, 2014

Intro

This article is intended for developers that are creating and/or maintaining applications with a Java Swing based GUI. Though JavaFX is being pushed as the “new Swing” nowadays, Swing is still around.
Look & Feels are inextricably linked with every Swing application. Even if none is used explicitly, every time, a Swing based GUI is created, a Look & Feel cares about the look and (you may guess it) the feel of what you see and interact with on the screen.

A Look & Feel – so its official title says – is pluggable. This means you can plug a new or different one to your application (strongly simplified, as this actually goes down to the level of a single JComponent). You may now ask: “But why should I care, if I do not change the Look & Feel now?” In an ideal world, you would not need to care. But, as often when using something, there are contracts.

This is what this article is about. I want to point out why you should care and develop or even maintain your Java Swing GUI or custom component with the pluggable Look & Feel technology in mind.

read more…

Writing and Styling Android™ Applications – Coming from Swing

Patrick Decker
Patrick Decker
April 28th, 2010

A Java™ developer who is used to developing GUIs with Swing and who is now trying to get into Android might be surprised: Java is not the same on Android.

The fact that Java is different on Android has been discussed in some blogs on the net already, so I just sum it up to this: Android applications can be written by any developer who knows the Java programming language. But the number of available runtime classes on Android is different: there are fewer classes in Android regarding package java.* compared to Sun Java Standard or Micro Edition. The most surprising fact for a Java GUI developer might be that there is no Swing on Android.

This article demonstrates some aspects of how a simple Java Swing application with a nice Look and Feel was transferred to Android. The main focus is set on how to write the application with the Android SDK and the styling and theming abilities of Android.
read more…

Frosted Glass on the Java™ Desktop

Simon Albers

More and more operating systems use a border resembling frosted glass for their windows, like, e.g., the Aero Glass® decoration known from Windows Vista® and Windows 7®. Providing this ‘special effect’ on the Java™ platform is still not easy to realize. Most Look and Feels use opaque borders, which do not visually match the surrounding designs of these operating systems.
This article describes a pragmatic approach to solve to this problem.

read more…

Want to know more about our services, products or our UX process?
We are looking forward to hearing from you.

Luzie Seeliger

Corporate Experience Manager

+49 681 959 3110

Contact form

Before sending your request, please confirm that we may contact you by clicking in the checkbox above.
  • Saarbrücken

    Science Park Saar, Saarbrücken

    South West Location

    Headquarter Saarbrücken
    Centigrade GmbH
    Science Park 2
    66123 Saarbrücken
    Germany
    Saarland
    On the map

    +49 681 959 3110

    +49 681 959 3119

  • Mülheim an der Ruhr

    Games Factory Mülheim an der Ruhr

    North West Location

    Office Mülheim
    Centigrade GmbH
    Kreuzstraße 1-3
    45468 Mülheim an der Ruhr
    Germany
    North Rhine-Westphalia
    On the map

    +49 208 883 672 89

    +49 681 959 3119

  • Haar · Munich

    Haar / München

    South Location

    Office Munich
    Centigrade GmbH
    Bahnhofstraße 18
    85540 Haar · Munich
    Germany
    Bavaria
    On the map

    +49 89 20 96 95 94

    +49 681 959 3119

  • Frankfurt am Main

    Frankfurt am Main

    Central Location

    Office Frankfurt
    Centigrade GmbH
    Kaiserstraße 61
    60329 Frankfurt am Main
    Germany
    Hesse
    On the map

    +49 69 241 827 91

    +49 681 959 3119

Cookies help us in providing our services. By using our services, you agree that we save Cookies. Learn more.

Close