Tuesday, September 15, 2009

Vista 64bit Problem mit dem Internet

Habe also nur Probleme mit meinem Vista 64bit system.

Ich hatte schon den Rechner bei Packard Bell eingeschickt, die mir den komplett platt gemacht. Lustigerweise ging das Internet dann nicht. (Vorher hatte ich Probleme mit periodischem komplett ausschalten des Rechners vor allem beim SIMS spielen)

Ich verstehe zwar nicht wieso und warum aber folgendes hat mir geholfen:
Eine Kommandozeile mit Administratorrechten öffnen:
- Auf Start klicken
- unten im Suchfenster cmd eingeben
- STRG+SHIFT+ENTER drücken
- Die Warnmeldung bestätigen Folgendes eingeben:
netsh
winsock
reset

Den Computer neu starten. Jetzt sollte es gehen.

Zu finden in folgendem Forum Post: http://forum.chip.de/windows-vista/vista-64-bit-internet-problem-erstinstallation-1118492.html

Tuesday, September 8, 2009

Openfire login issue

I had problems logging into the admin console of openfire.

Here is solution how to fix:
Check the property admin.authorizedJIDs in the table ofProperty
and add the user name you want to be admin. For me it was cti_david@im.placetel.de

Tuesday, September 1, 2009

Swing repainting issues

I am currently developing a Call Telephony Integration Client for placetel.de on the basis of Spark Instant Messageing client and I noticed several repainting problems in spark.

After long hours researching the web I found the solution. In several component of spark there is the paintComponent(Graphics g) overriden. But they forgot to call ther super.paintComponent(g)
that is why the components always seemed just to write changes on top of the old state so it looked very messy.

public void paintComponent(Graphics g) {
//Super.paintComponent was missing and added by me!
super.paintComponent(g);
double scaleX = getWidth() / (double)backgroundImage.getWidth(null);
double scaleY = getHeight() / (double)backgroundImage.getHeight(null);
AffineTransform xform = AffineTransform.getScaleInstance(scaleX, scaleY);
((Graphics2D)g).drawImage(backgroundImage, xform, this);
}