Applet and Skin Look And Feel 0.3.1
I have downloaded Skin Look And Feel 0.3.1.
It is very good but I have some problems with applets.
Can anyone help me with this?
The exception stack trace is:
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.util.PropertyPermission debug.skinlf read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at com.l2fprod.gui.plaf.skin.SkinUtils.<clinit>(SkinUtils.java)
at com.l2fprod.gui.plaf.skin.impl.gtk.GtkImage.getImage(GtkImage.java:109)
at com.l2fprod.gui.plaf.skin.impl.gtk.GtkImage.getImage(GtkImage.java:94)
at com.l2fprod.gui.plaf.skin.impl.gtk.GtkPersonality.<init>(GtkPersonality.java:95)
at com.l2fprod.gui.plaf.skin.impl.gtk.GtkSkin.init(GtkSkin.java:142)
at com.l2fprod.gui.plaf.skin.impl.gtk.GtkSkin.<init>(GtkSkin.java:134)
at com.l2fprod.gui.plaf.skin.SkinLookAndFeel.loadSkin(SkinLookAndFeel.java:644)
at projectx.AppletX.init(AppletX.java:41)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thaks
Hi,
This will be fixed in the upcoming SkinLF release. you can check out the latest version from sourceforge.net/projects/skinlf (see Contribute section at www.L2FProd.com), it contains the fix.
Next release will be available end of next week.
Best,
-fred
Similar Messages
-
How to apply XP and GTK look and feel??
hi..
please tell me how can I apply XP and GTK look and Feel in my Swing applications??hi
Please visit
http://www.l2fprod.com/
Ashish -
How can I include a JSP, Maximized, and retain look and feel(WSRP)
I have created a page group and defined a root page with a certain look and feel. There are two portlets on the page. Once the user clicks on a submit button, the portlet performs some action and includes a jsp included in the EAR file. The portlet needs to maximize the UI to display the jsp correctly.
Once control returns back to the screen, the look and feel is lost and uses Oracle's default style. I have two questions:
1. From the portlet, how can I retain the look and feel of the page group when referencing "external" jsp (i.e JSPs in the deployed portal EAR file).
2. How can I "redirect" the user to the home page in a standard way? If there is not a standard way, how do I use the Oracle specific utilities to do it?
All of my JSPs are developed externally out of the scope of the Oracle Portal.
Environment - Oracle Portal 10.1.4 on Release 2 using WSRP to contact Oracle Release 3, hosted EAR file (WSRP Producer).
Thanks in advance.Hi José,
I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
Regards,
Guru.
PS: Give points for helpful replies. -
Extending JComboBox behavior and changing look and feel
In order to change JComboBox behavior, usually we will extend the MetalComboBoxUI or WindowsComboBoxUI (for example: for controlling the popup width)
The problem arise when we want to be able to change the pluggable look and feel: all components got the new look and feel except for the comboboxes.
A dirty solution can be extending our ComboBoxUI from the new look and feel library but in the case of jgoodies it is even impossible because PlasticComboBoxUI is final
Any ideas?In order to change JComboBox behavior, usually we will extend the MetalComboBoxUI or WindowsComboBoxUI (for example: for controlling the popup width).
The problem arise when we want to be able to change the pluggable look and feel: all components got the
new look and feel except for the comboboxes. A dirty solution can be extending our ComboBoxUI from
the new look and feel library but in the case of jgoodies it is even impossible because PlasticComboBoxUI is final
My best suggestion: request the L&F provider to make his combo box homogeneous with the other components. -
JTree Button, Line and Java look and feel ?
Hi all,
I have 3 small problem with my JTree ..
1) The 'expand' button size ...
I set a different Icon for each node in a getTreeCellRendererComponent method (from a class that extends DefaultTreeCellRenderer )...
The icon are 32x32 pixels.. .and the RowHeight and the Font have been changed too. .
How to change the size of the expand button (+/-) near the text node ? Because on my JTree, the expand/collapse buttons are really small compare to the icon & row height.
2) No line appear between the node ...
I try to set the line style property with -> putClientProperty("JTree.lineStyle", "Angled"); in the JTree constructor OR in the DefaultTreeCellRenderer constructor .. but it doesn't work :/
3) How to set a Java look and feel for my JTree (actually, I have a Windows look and feel ..)
I know .. I have grouped 3 question in the same topic ...
If anyone can help me on one of these subjects. .. Thanks !
Regards,
DidierSo, the Problem 1) is solved ..
About the Problem 2)
I put the code UIManager.setLookAndFeel(new javax.swing.plaf.metal.MetalLookAndFeel()) in the main method, like
//Main method
public static void main(String[] args) {
try {
UIManager.setLookAndFeel(new javax.swing.plaf.metal.MetalLookAndFeel());
catch(Exception e) {
e.printStackTrace();
new MainApplication();
}But it only set a Java L&F on the spliter, and on the toolbar contained in my application... Any idea why the title bar is not changed too ?
(The title bar stay with a Window$ XP L&F ...)
About the problem 3)
When I set the L&F->UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); then the lines appear .. ??!! .. if I set again the previous value UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); .. then the lines desappear .. -
JFileChooser and system look and feel
I have a problem with the GUI of my filechooser. I use system look and feel (WinNT), and when I draw the dialog, the Files of type combobox is wrong painted. The size isn't correct (too big). Any suggestions?
HaraldYou should report it here
http://developers.sun.com/contact/index.jsp -
JFileChooser & XP look and feel
Hello!
I'm changing an exiting applet to have a local look & feel by simply doing this:
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); When the JFileChooser shows with the "metal" (java default) Look&Feel all is good but when it shows with
XP (or windows) L&F it has added a "panel" on the left side with icons for "My Recent Document" , "Desktop" , "My Documents", "My Computer" and " My Network places".
I really don't want them showing since it looks weird on the HTML page.
Does somebody know if and how I can get rid of that "panel" and still have the rest of the L&F intact?
Regards CalleCheck out skin look and feel. They have all sorts of look and feels including windows XP.
http://www.l2fprod.com -
Hi how to create Mac os look and feel??
hi
please tell me how to create Mac os look and feel.
thx.I've heard about a Skin look and feel, but I've never used it. Maybe you should look into that. It would probably be the easiest way to create a custom look and feel, but you won't automatically be able to use Aqua unless you're on a Mac. Sorry.
-
I need to create my Look And Feel and i don't know how to:
- Change the icons for an object like a checkbox (1 icon when it's checked and one OTHER if not) whithout using an action listener. I need to implement the in a Look And Feel Class.
- Change the arrow icon of the scrollbar.
If there is a solution please help me.have a look at skin look and feel: www.L2FProd.com
-
This question has likely been asked before, but I did a
search of the forum and couldn't find a specific posting. My
company has just purchased me a copy of Captivate 2, so some of it
is a bit new to me.
My question is....
Can the visual components of a quiz slide (such as the button
style) be modified directly in Captivate 2? I get how to modify the
player controls, but can't seem to find any files where I can do
the same to quiz slide components.
If I can not do this directly in Captivate, would I be able
to do this without breaking anything, by exporting a project to
Flash?
The company I work for would like to customize (think
"branding") the Captivate generated controls and general look and
feel of a finished project. This would be so that different, less
technical developers, could create materials that had the same
style.
Any resources anyone can point me toward would be
appreciated.
Thank you,
TPKColin Martin wrote:
I agree the leather look is horrible. It's just not a reflection of the cutting edge modern design we have all got to love over the years. If it has to be there at least give us a choice of looks.
There is a word for this (not that one) - skeuomorph. Wikipedia defines this as 'a derivative object that retains ornamental design cues to a structure that was necessary in the original. Skeuomorphs may be deliberately employed to make the new look comfortably old and familiar'.
Common examples are found in audio software with pictures of actual knobs that you turn, as here; and the leather-bound tear-off look of calendar and contacts on the iPad is the same principle: the intention is to make it familiar and friendly to people who might otherwise be frightened off by a modern look because they are not used to modern technology. The whole concept and look of the iOS operating system is being brought into use on Macs for the same reason, to encourage non-tech-savvy people not to be frightened of them.
This is all very well in its way, but in these two particular cases the result is unfortunate, particularly for experienced users, and it really ought to be possible to choose between the looks (as you can with the Mail layouts), even if the skeuomorph is the default. -
How to change the default look and feel
Hi.
Does anyone knows how to change the default Caspian look and feel to, for example, Nimbus ?
Or the skin feature turns look and feel setting, as We know in java, unnecessary in javafx ?
I´m using javafx 1.2.
CheersCanspian is not a look&feel, it's a skin.
Look&feel only change the SwingComponent,
regards. -
How Can You Change the Look and Feel of Charts in OBIEE 11g
How Can You Change the Look and Feel of Charts in OBIEE 11g?
Edited by: user11973122 on Jul 18, 2012 12:13 AMCheck these files
OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\s_blafp\viewui\chart\dvt-graph-skin.xml
OFM_HOME\Oracle_BI1\bifoundation\web\msgdb\views\dvtchart\obips.dvtchart.xml
OFM_HOME\Oracle_BI1\bifoundation\web\display\chartfontmapping.xml
Pls mark correct or helpful if helps -
How do I get a more modern look and feel for a compiled help file
I gather from reading various posts that there is no easy way
to generate a .chm file with a more modern look and feel (am I
right about this?). Are there no plug-ins available from Adobe that
will enable us to generate a help file that looks more modern?
I hesitate to move to flash help or something like that
because, of course, then the developers would have to hookup the
hundreds of dialog boxes we have in our product to the new files. I
also think that having one file is way easier to manage in terms of
getting updated help to the customers. What are online Help
developers generally delivering for apps where users are not
connected to the Internet except perhaps periodically while using
the software? I'm a writer (not a developer) so need soemthing that
is easy to implement :-)
Thanks for your help. It is much appreciated.To add to the advice already offered, you can apply a skin to
a CHM file which allows you to customise it. However as with most
things there are issues with this approach. You can read about this
by downloading Rick Stone's excellent
tips
'n tricks file. Just look in the index under "skins". Something
else you may want to look at is the beta of Adobe's
AIR. -
Hi
I m posting this thread again. Can anyone show the way to get rid of SecretLoader class in Stefankrause look and feel. SerectLoader Code is not available on net , but this is used in Stefankrause XP look and feel.I have tried default icons but does not exactly serve the purpose.
I've downloded code from
http://www.stefan-krause.com/java/
Or if u've info regarding where is icon file for Microsoft Windows XP on Computer that are used in Java, like icons for plus ,minus, or question mark etc.
Thanx.Hi there, I've used this package and u can use DJ - the java decompiler or jad to decomile it. Or event u can use Gel(a Java IDE written in Java) to just double click the class file to view it's source. Gel can be found at http://www.gexperts.com/.
note the code
abyte0[l] ^= 0x2a;
is what the author exactual encode the resource. u can alse use this method to get the original images, in fact, i've done this, hehe. Since abyte ^ 0x2a ^ 0x2a = abyte, this is just a bitwise operation equals.
// SecretLoader.java
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3)
package com.stefankrause.xplookandfeel.skin;
import java.awt.*;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.net.URL;
import javax.swing.JPanel;
public class SecretLoader
public SecretLoader()
static Image loadImage(String s)
URL url;
url = (com.stefankrause.xplookandfeel.skin.SecretLoader.class).getResource("/com/stefankrause/xplookandfeel/icons/" + s);
Object obj = null;
Image image;
InputStream inputstream = url.openStream();
ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
byte abyte0[];
if(s.endsWith(".res"))
inputstream.read();
inputstream.read();
for(int i = inputstream.read(buffer); i != -1; i = inputstream.read(buffer))
bytearrayoutputstream.write(buffer, 0, i);
abyte0 = bytearrayoutputstream.toByteArray();
for(int l = 0; l < abyte0.length; l++)
abyte0[l] ^= 0x2a;
} else
for(int j = inputstream.read(buffer); j != -1; j = inputstream.read(buffer))
bytearrayoutputstream.write(buffer, 0, j);
abyte0 = bytearrayoutputstream.toByteArray();
int k = inputstream.read(abyte0);
image = Toolkit.getDefaultToolkit().createImage(abyte0, 0, abyte0.length);
MediaTracker mediatracker = new MediaTracker(panel);
mediatracker.addImage(image, 0);
try
mediatracker.waitForID(0);
catch(InterruptedException interruptedexception) { }
return image;
Throwable throwable;
throwable;
throw new IllegalArgumentException("File " + s + " could not be loaded.");
static JPanel panel = new JPanel();
static byte buffer[] = new byte[4096];
} -
I've found this page with a nice look and feel:
https://substance.dev.java.net/docs/skins.html#CremeSkin
But I can't use it.
I import this:
import org.jvnet.substance.skin.SubstanceCremeLookAndFeel;
And do this:
UIManager.setLookAndFeel(new SubstanceCremeLookAndFeel());
But the import-libary are not correct. Hope somebody can help me! I'm using netBeans.you can add LAF without changing of code. Start app from command line like this
@call set_classpath.bat
@set classpath=../../laf/substance.jar;%classpath%
@java -Dswing.defaultlaf=org.jvnet.substance.SubstanceLookAndFeel myPkg.myApp
see quick review of LAF's - http://sss1024.googlepages.com/
Maybe you are looking for
-
Acrobat X Pro crashed and deleted the file
I am using Acrobat X Pro 10.1.3 in OS X 10.1.1. I was working on a file. Acrobat crashed without warning and reopened. It did not reopen the file. I looked in the Open a Recent File dialog box and in the Recently Opened menu, and my file was not ther
-
Scenebuilder not seeing controller in Maven directory structure
I'm using maven for my javafx project, I used the javafx maven plugin @ https://github.com/zonski/javafx-maven-plugin/wiki. Everything was created correctly with a typical maven directory structure, the fxml file was created in the resources\fxml fol
-
I have a one-column table in pages. Each cell has text and a number separated by a colon. Can I automatically make it two column with everything to the right of the colon in the second column?
-
can't save an edited raw image as a jpg.
-
Hello experts! We have installed a brand new BPM Suite server with everything in the latest PS5 (11.1.1.6.0). We have successfully integrated User authentication with our Active Directory by creating an additional Provider in Weblogic. Such integrate