dipsec / armitage

Automatically exported from code.google.com/p/armitage
0 stars 0 forks source link

Enable "Native Look and Feel" #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is probably a quick and easy edit to your main java class.  

Here's their howto: 
http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html

This would make Armitage look prettier.  That's it.  But I'd appreciate it! :)

Original issue reported on code.google.com by ThomasEr...@gmail.com on 18 Feb 2011 at 4:13

GoogleCodeExporter commented 9 years ago
If you want to try this out right now, go to Armitage -> Preferences and set 
application.skin.skin to one of the following:

com.sun.java.swing.plaf.gtk.GTKLookAndFeel
com.sun.java.swing.plaf.motif.MotifLookAndFeel
com.sun.java.swing.plaf.windows.WindowsLookAndFeel

Click Save and restart Armitage.

When I was first developing Armitage, I had it use the native look and feel of 
the local operating system. Unfortunately, I noticed a few visual artifacts in 
the Windows L&F and I didn't want to troubleshoot all of them any more, so I 
opted to use Nimbus which is Sun's non-default cross platform look and feel. 

I may need to document this for folks interested in having a different L&F 
anyways. :)

Original comment by rsmu...@gmail.com on 19 Feb 2011 at 12:35

GoogleCodeExporter commented 9 years ago
That's even better than hardcoding.  Thanks!

I like that it works oob, but I get what I was looking for with a special tweak 
already available.  Can't ask for more than that!

Original comment by ThomasEr...@gmail.com on 22 Feb 2011 at 11:46

GoogleCodeExporter commented 9 years ago
Ok cool. I'm closing this then.

Original comment by rsmu...@gmail.com on 23 Feb 2011 at 12:29

GoogleCodeExporter commented 9 years ago
Ok, just got my ubuntu install working, but this seems broken.
I even tested using com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel and always 
fall back to the ugly sun default theme (not Nimbus, the blue/angular one).

I've tried 'com.sun.java.swing.plaf.gtk.GTKLookAndFeel' as well as just 'gtk' 
and 'GTK'

Downloading the source now to take a look...

Original comment by ThomasEr...@gmail.com on 22 Apr 2011 at 3:42

GoogleCodeExporter commented 9 years ago
Which Java are you using? It sounds like you're using one of those open source 
non-Sun/Oracle Java. These don't work with Armitage and I have no intention of 
adding work-arounds to support them. Type: java -version

Original comment by rsmu...@gmail.com on 22 Apr 2011 at 3:57