JUG Muenster Stammtisch: 18.8. im Cuba Nova!

August 16th, 2010 Leave your comment »

Der naechste Java Stammtisch findet am 18.8. im Cuba Nova ab 18:30 Uhr statt. Eingeladen sind wie immer alle an Java, Softwareentwicklung und Projektmanagement interessierten Personen. » Mehr: JUG Muenster Stammtisch: 18.8. im Cuba Nova!

 

SteelSeries Java Swing component library

August 12th, 2010 2 Kommentare »

Here we go again…

A few months ago i started a new project where i again focussed on gauges (i love that stuff). It took me some time because i only work on the project on my spare time (which is rare) but now i finished a first version of a little library that contains a lot of gauges for Java applications…

First of all i have to mention that this library was not meant to be a professional components library and should not be used on mission critical software. Means if you use the library it’s on your own risk !

I’ve never before created a component library and for me it was and is a great challenge to dive deeper into the Java universe…

But now let’s have some fun…

The library contains two general types of gauges, radial and linear ones and some little candy in the form of additional components like a Radar component etc.

I add some properties to the gauges that hopefuly will be useful for some of you.

Here is a short list of the most interesting features:

  • frameDesign (metal, shiny metal, blackmetal)
  • backgroundColor (dark gray, light gray, white, black, beige, red, green blue)
  • pointer/bar color (red, green, blue, yellow, orange)
  • a three colored track to visualize areas of special interest (e.g. a critical temperature range)
  • thresholdIndicator
  • blinking threshold led (red, green, blue, orange, yellow)
  • adjustable tickmarks
  • indicators for min. and max. measured values
  • auto reset to zero feature

It should be possible for you to create your own components out of these library and  if you’ll take a look at the source you will find components like Radial1Lcd, Radial2Lcd and Radial3Lcd where i used Netbeans matisse gui builder to create the component from the FrameCircular and DisplaySingle components.

So you should be able to check read the sourcecode of these components and see how i did it (the easiest way would be to use Netbeans to check the source).

But to give you a impression, let pictures speak… » Mehr: SteelSeries Java Swing component library

 

Stammtisch: 4.8. im Cuba Nova

August 3rd, 2010 Leave your comment »

Der naechste Java Stammtisch findet am 4.8. im Cuba Nova ab 18:30 Uhr statt. Eingeladen sind wie immer alle an Java, Softwareentwicklung und Projektmanagement interessierten Personen.

Hinweis: Wir haben eine neue Mailingliste, wer per E-Mail auf dem Laufenden gehalten werden möchte, kann sich mit einer E-Mail an jug-join@list.jug-muenster.de eintragen. » Mehr: Stammtisch: 4.8. im Cuba Nova

 

30.7.: Clojure Presentation with Alex Ott

Juli 22nd, 2010 Leave your comment »

Clojure is a language running on the Java Virtual machine and gaining rapid popularity. Beeing a general-purpose language supporting interactive development that encourages a functional programming style, and simplifying multithreaded programming its usage is particularly promising in high concurrency/throughput environments. » Mehr: 30.7.: Clojure Presentation with Alex Ott

 

Java2D Conical Gradient Paint

Juli 21st, 2010 Kommentare deaktiviert für Java2D Conical Gradient Paint

Just a short blogpost about a little tool that i would like to share with you…
A few months ago i was creating a worldclock with a night and day display where i needed a conical gradient.
So what is a conical gradient ? Here we go… » Mehr: Java2D Conical Gradient Paint

 

JUG Stammtisch am 21.7.

Juli 20th, 2010 Leave your comment »

Am Mittwoch dem 21.7. gibt es wieder den offenen Stammtisch der JUG Muenster!

Hinweis: Wir haben eine neue Mailingliste, wer per E-Mail auf dem Laufenden gehalten werden möchte, kann sich mit einer E-Mail an jug-join@list.jug-muenster.de eintragen. » Mehr: JUG Stammtisch am 21.7.

 

Android AutoConversion EditText component

Juli 8th, 2010 Leave your comment »

AutoConversion EditText component:

Yesterday i created a Java Swing textfield component that autoconverts a given value into a selectable unit which could be useful.

In the evening i got the idea to port this component to Android and see if it will work there.

Just as a short note…if you are a Java developer you should take a look into Android…it’s sooooo nice, porting the component tooks me not more than 2 hours (and i’m not really into Android development).

Here is the result:

ishot-2.pngishot-3.pngishot-4.png

 

 

 

 

 

 

 

 

 

 

 

So you could type in a value with the unit of your choice and after leaving the field the value will be converted into the EditText „base unit“.

I changed the units with special characters like µ, Å, ² and ³ to u, A, 2 and 3 which leads to units like:

um  <=>  µm

A <=>  Å

m2  <=>  m²

m3  <=>  m³

and so on…

The upper spinner will select the type of unit you would like to use.

The middle spinner will select the current base unit for the textfield.

The lower spinner will adjust the number of decimals for the textfield.

Because it displays the unit directly in the textfield there’s no need for a additional label for the unit.

You also might check this little video

Well again this is nothing very fancy or gui related but it was a nice challange for me so i decided to share it with you… AutoConversionField.zip

 

follow me on twitter if you like…

 

 

Java AutoConversion textfield component

Juli 7th, 2010 Leave your comment »

AutoConversion textfield component:

If you drive a motorized stage of a microscope you often have to handle coordinates in a unit like millimeter [mm]. But it might happen that the sample in your microscope is only in the range of microns [µm].

So would it not be nice to directly type in the coordinates in µm and the textfield would automaticaly convert the unit into [mm] ?

This would increase the workflow a lot because you do not have to think about conversion of units. There seems to be countries that are using inches and people living there might like to type in coordinates in inches instead of millimeters..etc…

For this reason i created a little component that extends a standard javax.swing.JTextField and is now able to do the conversion. You could also use the conversion alone without the textfield to create some kind of unit converter…it’s up to you.

Here are a few screenshots of a demo app that uses the component:

#1 Step

#3 Step#2 Step

So you could type in a value with the unit of your choice and after leaving the field or pressing enter the value will be converted into the textfields „base unit“.

The upper combobox will select the type of unit you would like to use (it supports angle, area, length, mass, temperature, time at the moment but one could easily add more units to it).

The middle combobox will select the current base unit for the textfield.

The lower combobox will adjust the number of decimals for the textfield.

Because it displays the unit directly in the textfield there’s no need for a additional label for the unit.

You also might check this little video

Well this is nothing very fancy or gui related but it was very useful for me so i decided to share it with you… ConversionField.zip

 

follow me on twitter if you like…

 

JavaOne: 200$ JUG Rabatt

Juni 22nd, 2010 Leave your comment »
Die JavaOne 2010 findet vom 19 bis 23 September in San Francisco statt. Zum ersten Mal wird die JavaOne unter der Schirmherrschaft von Oracle veranstaltet. Und Oracle bietet auch etwas ganz besonderes: Für Mitglieder einer Java Usergroup gibt es einen 200$ Sonderrabatt!
Und dieser Rabatt gilt zusätzlich zum regulären Frühbucherrabatt – kann aber auch noch später geltend gemacht werden. » Mehr: JavaOne: 200$ JUG Rabatt
 

Java Stammtisch: 23.6. ab 18:30 Uhr

Juni 21st, 2010 Leave your comment »

Wir möchten zum nächsten Java Stammtisch in Münster einladen! Herzlich willkommen sind alle an Java und Softwareentwicklung interessierten Personen. (Damit sind auch PHP, Ruby on Rails, .NET und Scala Entwickler gemeint 🙂 ) In entspannter Atmosphäre gibt es Gelegenheit zum gegenseitigen Austausch, Kennenlernen oder auch Diskussionen beizuwohnen.

Hinweis: Wir haben eine neue Mailingliste, wer per E-Mail auf dem Laufenden gehalten werden möchte, kann sich mit einer E-Mail an jug-join@list.jug-muenster.de eintragen. » Mehr: Java Stammtisch: 23.6. ab 18:30 Uhr