JFileChooser not opening when we applied custom Look and Feel & Theme

Dear All,
JFileChooser not opening when we applied custom Look and Feel & Theme.
The following is the source code
import java.awt.Color;
import javax.swing.*;
import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.metal.MetalLookAndFeel;
import com.jgoodies.looks.plastic.*;
public class CustomTheme {
public static void main(String[] args)throws UnsupportedLookAndFeelException{
UIManager.setLookAndFeel(new MyLookAndFeel());
MyLookAndFeel.setCurrentTheme(new CustomLaF());
JFrame frame = new JFrame("Metal Theme");
JFileChooser jf = new JFileChooser();
System.out.println("UI - > "+jf.getUI());
//jf.updateUI();
frame.getContentPane().add(jf);
frame.pack();
frame.setVisible(true);
static class CustomLaF extends PlasticTheme {
protected ColorUIResource getPrimary1() {
return new ColorUIResource(232,132,11);
public ColorUIResource getPrimary2() {
          return (new ColorUIResource(Color.white));
     public ColorUIResource getPrimary3() {
          return (new ColorUIResource(232,132,11));
public ColorUIResource getPrimaryControl() {
return new ColorUIResource(Color.GREEN);
protected ColorUIResource getSecondary1() {
return new ColorUIResource(Color.CYAN);
protected ColorUIResource getSecondary2() {
          return (new ColorUIResource(Color.gray));
     protected ColorUIResource getSecondary3() {
          return (new ColorUIResource(235,235,235));
     protected ColorUIResource getBlack() {
          return BLACK;
     protected ColorUIResource getWhite() {
          return WHITE;
static class MyLookAndFeel extends Plastic3DLookAndFeel {
          protected void initClassDefaults(UIDefaults table) {
               super.initClassDefaults(table);
          protected void initComponentDefaults(UIDefaults table) {
               super.initComponentDefaults(table);
               Object[] defaults = {
                         "MenuItem.foreground",new ColorUIResource(Color.white),
                         "MenuItem.background",new ColorUIResource(Color.gray),
                         "MenuItem.selectionForeground",new ColorUIResource(Color.gray),
                         "MenuItem.selectionBackground",new ColorUIResource(Color.white),
                         "Menu.selectionForeground", new ColorUIResource(Color.white),
                         "Menu.selectionBackground", new ColorUIResource(Color.gray),
                         "MenuBar.background", new ColorUIResource(235,235,235),
                         "Menu.background", new ColorUIResource(235,235,235),
                         "Desktop.background",new ColorUIResource(235,235,235),
                         "Button.select",new ColorUIResource(232,132,11),
                         "Button.focus",new ColorUIResource(232,132,11),
                         "TableHeader.background", new ColorUIResource(232,132,11),
                         "TableHeader.foreground", new ColorUIResource(Color.white),
                         "ScrollBar.background", new ColorUIResource(235,235,235),
                         "ToolTip.foreground", new ColorUIResource(232,132,11),
                         "ToolTip.background", new ColorUIResource(Color.white),
                         "OptionPane.questionDialog.border.background", new ColorUIResource(Color.gray),
                         "OptionPane.errorDialog.titlePane.foreground", new ColorUIResource(Color.white),
                         "OptionPane.questionDialog.titlePane.background", new ColorUIResource(232,132,11),
                         "Table.selectionBackground", new ColorUIResource(232,132,11)
               table.putDefaults(defaults);
When i run this program the following error is coming:
Exception in thread "main" java.lang.NullPointerException
at javax.swing.plaf.metal.MetalFileChooserUI$IndentIcon.getIconWidth(Unknown Source)
at javax.swing.SwingUtilities.layoutCompoundLabelImpl(Unknown Source)
at javax.swing.SwingUtilities.layoutCompoundLabel(Unknown Source)
at javax.swing.plaf.basic.BasicLabelUI.layoutCL(Unknown Source)
at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
at javax.swing.plaf.basic.BasicListUI$ListSelectionHandler.valueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.changeSelection(Unknown Source)
at javax.swing.DefaultListSelectionModel.setSelectionInterval(Unknown Source)
at javax.swing.JList.setSelectedIndex(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup.setListSelection(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup.access$000(Unknown Source)
at javax.swing.plaf.basic.BasicComboPopup$ItemHandler.itemStateChanged(Unknown Source)
at javax.swing.JComboBox.fireItemStateChanged(Unknown Source)
at javax.swing.JComboBox.selectedItemChanged(Unknown Source)
at javax.swing.JComboBox.contentsChanged(Unknown Source)
at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.setSelectedItem(Unknow
at javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.addItem(Unknown Source
at javax.swing.plaf.metal.MetalFileChooserUI$DirectoryComboBoxModel.access$2300(Unknown So
at javax.swing.plaf.metal.MetalFileChooserUI.doDirectoryChanged(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI.access$2600(Unknown Source)
at javax.swing.plaf.metal.MetalFileChooserUI$12.propertyChange(Unknown Source)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(Unknown Source)
at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(Unknown Source)
at javax.swing.JComponent.firePropertyChange(Unknown Source)
at javax.swing.JFileChooser.setCurrentDirectory(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at javax.swing.JFileChooser.<init>(Unknown Source)
at CustomTheme.main(CustomTheme.java:20)
I am extending the JGoodies Look And Feel & Theme.
Thanks in advance
Krishna Mohan.

Dear cupofjoe,
Thank you for your response.
I am using the Latest JGoodies Look & Feel which is downloaded from http://www.jgoodies.com.
i am writing our own custom Look & Feel By Overridding Jgoodies Look & Feel.
In that case i am getting that error.
The following is the source code:
import java.awt.Color;
import javax.swing.*;
import javax.swing.plaf.ColorUIResource;
import javax.swing.plaf.metal.MetalLookAndFeel;
import com.jgoodies.looks.plastic.*;
public class CustomTheme {
public static void main(String[] args)throws UnsupportedLookAndFeelException{
UIManager.setLookAndFeel(new MyLookAndFeel());
MyLookAndFeel.setCurrentTheme(new CustomLaF());
JFrame frame = new JFrame("Metal Theme");
JFileChooser jf = new JFileChooser();
//System.out.println("UI - > "+jf.getUI());
//jf.updateUI();
//frame.getContentPane().add(jf);
frame.pack();
frame.setVisible(true);
static class CustomLaF extends PlasticTheme {
protected ColorUIResource getPrimary1() {
return new ColorUIResource(232,132,11);
public ColorUIResource getPrimary2() {
          return (new ColorUIResource(Color.white));
     public ColorUIResource getPrimary3() {
          return (new ColorUIResource(232,132,11));
public ColorUIResource getPrimaryControl() {
return new ColorUIResource(Color.GREEN);
protected ColorUIResource getSecondary1() {
return new ColorUIResource(Color.CYAN);
protected ColorUIResource getSecondary2() {
          return (new ColorUIResource(Color.gray));
     protected ColorUIResource getSecondary3() {
          return (new ColorUIResource(235,235,235));
     protected ColorUIResource getBlack() {
          return BLACK;
     protected ColorUIResource getWhite() {
          return WHITE;
static class MyLookAndFeel extends Plastic3DLookAndFeel {
          protected void initClassDefaults(UIDefaults table) {
               super.initClassDefaults(table);
          protected void initComponentDefaults(UIDefaults table) {
               super.initComponentDefaults(table);
               Object[] defaults = {
                         "MenuItem.foreground",new ColorUIResource(Color.white),
                         "MenuItem.background",new ColorUIResource(Color.gray),
                         "MenuItem.selectionForeground",new ColorUIResource(Color.gray),
                         "MenuItem.selectionBackground",new ColorUIResource(Color.white),
                         "Menu.selectionForeground", new ColorUIResource(Color.white),
                         "Menu.selectionBackground", new ColorUIResource(Color.gray),
                         "MenuBar.background", new ColorUIResource(235,235,235),
                         "Menu.background", new ColorUIResource(235,235,235),
                         "Desktop.background",new ColorUIResource(235,235,235),
                         "Button.select",new ColorUIResource(232,132,11),
                         "Button.focus",new ColorUIResource(232,132,11),
                         "TableHeader.background", new ColorUIResource(232,132,11),
                         "TableHeader.foreground", new ColorUIResource(Color.white),
                         "ScrollBar.background", new ColorUIResource(235,235,235),
                         "ToolTip.foreground", new ColorUIResource(232,132,11),
                         "ToolTip.background", new ColorUIResource(Color.white),
                         "OptionPane.questionDialog.border.background", new ColorUIResource(Color.gray),
                         "OptionPane.errorDialog.titlePane.foreground", new ColorUIResource(Color.white),
                         "OptionPane.questionDialog.titlePane.background", new ColorUIResource(232,132,11),
                         "Table.selectionBackground", new ColorUIResource(232,132,11)
               table.putDefaults(defaults);
pls suggest me the how to solve this problem.
thanks in advance
Krishna MOhan

Similar Messages

  • Making custom non-standard components aware of custom look and feels.

    Hello all.
    Maybe the subject of this post could also be the opposite: "Making custom look and feels aware of non-standard custom components". I'm not sure.
    If I code a new custom component (extending JComponent, or extending the UI delegate of a standard component) and pretend it to be laf aware then I must create the corresponding UI delegate for each laf, like it happens to be with standard swing components. But I'm not sure it is feasible to create the UI delegates for all unknown existing custom lafs.
    On the other side, if I create a custom laf then I will also create a custom UI delegate for each standard component, but I can not create UI delegate for all unknown existing custom components.
    The point here is that standard components and standard lafs are universally known, while custom components (or custom ui delegates) and custom lafs are not.
    So the question is: How does a swing developer deal with the case of a new custom component that will be used in an unknown custom laf?
    For instance:
    1. Custom text UI delegate for dealing with styled documents in JTextField. See {thread:id=2284487}.
    2. JTabbedPane with custom UI delegate that paints no tab if the component only contains one tab.
    In both cases I need a UI delegate for each known laf, but what happens if the application is using a laf that certainly will not be aware of this custom functionally?
    Thank you!

    If I code a new custom component (extending JComponent, or extending the UI delegate of a standard component) and pretend it to be laf aware then I must create the corresponding UI delegate for each laf, like it happens to be with standard swing components. But I'm not sure it is feasible to create the UI delegates for all unknown existing custom lafs.You are right, this is never going to work. I suggest if you want to make your custom component look & feel aware, you design the way it displays around the l & f of other components that are part of j2se and have l&f implementations.
    http://download.oracle.com/javase/7/docs/api/javax/swing/plaf/ComponentUI.html
    There are instructions here:
    http://download.oracle.com/javase/7/docs/api/javax/swing/LookAndFeel.html
    >
    On the other side, if I create a custom laf then I will also create a custom UI delegate for each standard component, but I can not create UI delegate for all unknown existing custom components.
    The point here is that standard components and standard lafs are universally known, while custom components (or custom ui delegates) and custom lafs are not.
    So the question is: How does a swing developer deal with the case of a new custom component that will be used in an unknown custom laf?
    For instance:
    1. Custom text UI delegate for dealing with styled documents in JTextField. See {thread:id=2284487}.
    2. JTabbedPane with custom UI delegate that paints no tab if the component only contains one tab.
    In both cases I need a UI delegate for each known laf, but what happens if the application is using a laf that certainly will not be aware of this custom functionally?
    Thank you!

  • Custom Look and Feel Not showing up

    I've created a new look and feel per the edocs and it's shaping up nicely but when I deploy it to the portal it's great as the default but when I go in to change the LNF as a user It's not an option... Do I need to add it to some random xml file or something for it to show... also is there any documentation with greater detail for look and feel development out there?
    Thanks in advance
    Whitt

    I don't know what the plan is for getting old Dev2Dev sample code on OTN (Oracle Technology Network).
    I ran into the same problem yesterday. I needed a quick login portlet for a portal I was fiddling with.
    I plucked the login.portlet from the 10.2 installation at <home>/wlserver_10.0/samples/portal/portalApp/contentPresenterSampleWeb/avitek/portlets/login
    This sample is an example of using a backing file to handle the logic. The backing file for this portlet is in <home>/wlserver_10.0/samples/portal/portalApp/contentPresenterSampleWeb/WEB-INF/src/examples/visitortools

  • Customizing Look and Feel -- examples

    Greetings
    I recently started looking into how I could customize a Skin that was more suited for the particular users of Oracle, one to replace the standard blue Swan.
    The first steps were well document and I managed to edit the general look and feel. However, a practical example of how to change a particular component would do a lot to help me understand and implement other less general changes.
    I Wanted to change the color of the text for SNAV.Menu and SNAV.Fav within GlobalHeader
    I was able to change this in file "OAFSlideoutMenu.css" which is under $OA_HTML/cabo/styles ... but then it changes for all Skins, the default swan as well.
    Can anyone provide an example of how to change this by using my "[custom]-desktop.xss" file ?
    I appreciate the assistance!

    Hi,
    I assume you are talking about the OID in iAS 9.0.2 and on this release it's not possible.
    It should be possible in 10G, but I'm not sure.
    We gave up and has developed our own GUI's for the OID application.
    Steffen

  • Customizing Look and Feel

    Is there a way to customize the "look and feel" of the OID webtool?
    Also, is there any way to change what is displayed as a result of performing a search? Specifically, I'd like to extend the searchable fields to include businessCategory.
    Any help would be greatly appreciated.

    Hi,
    I assume you are talking about the OID in iAS 9.0.2 and on this release it's not possible.
    It should be possible in 10G, but I'm not sure.
    We gave up and has developed our own GUI's for the OID application.
    Steffen

  • BSP - Look and Feel / Theme

    Good Morning All,
    disclaimer: I checked the blogs, I checked the discussions, I checked the examples, I checked the doco - and couldn't find the answer to my question.
    Question:
    I've already seen it, but can't remember where it is, does anyone know the name of the BSP Sample/Example which comes with the WAS which has the EP6 look and feel ?
    I saw it a few weeks ago and I can't find it now and I want to study the code from it to make my app have a nicer look and feel.
    Note: I read Thomas's blog on - 'A developer's Journal Part VI
    and although that example discussed what I am interested in I couldn't see examples in the code of creating the header bar etc, maybe it's just me, but at the moment that's what I would like to achieve and to do it by example.
    So to conclude if anyone knows / can remember the name of the BSP example which has an EP6 look and feel please let me know so that I can study it for inspiration.
    Thanks very much,
    Milan.

    Hallo Milan,
    I think that you are doing good. It is always the best to follow a small mix of documentation reading and practical work. So let me tell you the minimum to get a first version working. Thereafter to can continue reading!
    Problem: we want to implement a simple link tag (in 15 minutes!) that works like this:
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <%@extension name="bcm06" prefix="bcm06"%>
    <htmlb:content design="design2003">
      <htmlb:page>
          <b><bcm06:simpleLink href="http://www.sap.com">
              SAP Home Page!
          </bcm06:simpleLink></b>
      </htmlb:page>
    </htmlb:content>
    In SE80 we defined a new BSP library bcm06. We define a new element simpleLink. Typical handler class name will be CL_BCM06_SIMPLELINK (just the convention we use).  As body this tag can contain other HTML and also over BSP elements (we want to just render a link around all of body). We don't worry about the rest of the checkboxes. They will become interesting later on.
    We activate the library. The workbench will detect that no handler class exists, and will generate all of the stuff we need. Now already the tag is full functional, and can be used on any BSP page. It just will not do anything.
    What was generated? The class inheritance diagram is as follow: CL_BCM06_SIMPLELINK --> CL<b>G</b>_BCM06_SIMPLELINK --> CL_BSP_ELEMENT.
    The class CL_BSP_ELEMENT is the base class, and it contains a lot of interesting functionality. None of which we worry about now. Never try to change it!
    The class CL<b>G</b>_BCM06_SIMPLELINK (note that CLG<b></b>_!) is generated new each and everytime that you touch the definition of the tag. Effectively all the defined attributes are generated onto this class, so that they are already of the correct type, and that this information is always in sync. This means that all your tag defined attributes are directly attributes on your class. In our case, the defined "href" attribute (type string) is now an attribute on the CLG class.
    The last class CL_BCM06_SIMPLELINK will only be generated once if it does not exist. This is the class where you work. In this class there are two methods that are interesting to you at this moment. Later you will learn about the rest.
    DO_AT_BEGINNING: This method is called effectively in response to the <lib:tag> sequence. This is the code that executes before the body. This is the place where we would like to render out "<a href=...>" sequence.
    DO_AT_END: This method is called effectively at the end of the tag, when the </lib:tag> is seen. The body has now already been processed and sent onto the output stream. So we only need to render "</a>".
    Note that these methods are implemented empty. You <b><u>*MUST*</u></b> overwrite them, and implement them in your class. See instructions from Thomas. Source code:
    <b>METHOD if_bsp_element~do_at_beginning.</b>
      DATA: html TYPE string.
      CONCATENATE `<a href="` me->href `">` INTO html.
      me->print_string( html ).
      rc = co_element_continue.
    ENDMETHOD.
    <b>METHOD if_bsp_element~do_at_end.</b>
      me->print_string( `</a>` ).
      rc = co_page_continue.
    ENDMETHOD.
    Notice that you DO NOT need that super call. The base method will always be empty (from definition, will never change). You also have a direct PRINT_STRING method in newer SPs. The return code you must set. (To tell the truth, the constants for RC have been picked so perfectly that if you forget them, it should not hurt in 85% of the cases.)
    That is it. Test page. Mine worked!
    Of course, we can start looking at more exotic things, like empty tags, at tags that skip their bodies if not required, processing the body, validation, etc.
    But this overview was just to give you that first success feeling, and also to give you a better framework for understanding more of the documentation as you continue to read.
    Recommended: read <a href="/people/brian.mckellar/blog/2004/06/11/bsp-trouble-shooting-getting-help">Getting Help</a> to see how you can quickly navigate between BSP page and a tag's definition, from where you also quickly get to the implementation class of the tag.
    bye, brian
    PS: Now if this is not already the first page of your weblog done

  • Firefox will not open when I click the icon and windows task manger indicates firefox is running.

    I can't open firefox. I click the icon, my cursor shows Firefox is loading, then nothing happens, the screen remains the same.

    Hi Iekard.
    Press CTRL+SHIFT+ESC to see if the firefox.exe process is running. If it is, terminate it and try to run Firefox again.
    If that doesn't help, try running Firefox in safe mode. If it works like that, maybe it'll work again in normal mode.

  • Customizing look and feel web interface

    Hi all,
    We are customizing the theme "web interface", but don't appears, when we look for it in "Theme Root". Only appears the themes created by SAP.
    the steps that we followed are:
    - Copy the theme, with the program BPS_UPDATE_MIMEREPOS
    - import the theme in my folder into the node /sap/public/bc/ur/design2002/themes/myfolder
    - copy the CSS
    - modify and import the fiel .CSS in my folder into the node /sap/bw/mime/BEx/StyleSheets/mycss.css
    - Assign the theme with the CSS in table UPWB_THEMES_MAP.
    This is all and doesn't work.
    best reguard

    Thanks Andrea,
    He is very useful.
    Do you have additional information on the components of the CSS?
    For example:
    .sapbexaggdata
    .sapbexaggdata:visited
    .sapbexcalskipmonth
    What represent?
    Thanks for your help.
    Best Regard

  • Customizing look and feel of Rich Text Editor

    I'm trying to remove the drop shadow from under the text area
    of the RichTextEditor. Both rteditor.filters and
    rteditor.textArea.filters are empty. Is the drop shadow actually
    applied to something else?

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="vertical"
    verticalAlign="middle"
    backgroundColor="white">
    <mx:RichTextEditor id="richTextEditor"
    title="RichTextEditor"
    status="version {richTextEditor.getStyle('version')}"
    showControlBar="false"
    cornerRadius="0"
    width="100%"
    height="100%"
    rollOut="richTextEditor.showControlBar = false;"
    rollOver="richTextEditor.showControlBar = true;" />
    <mx:Label text="Roll over the RichTextEditor control
    above to toggle the control bar." />
    </mx:Application>

  • Customizing Look and Feel (CLAF) - gif images/tabs disappear.Urgent!!!!

    Hi,
    I am trying to change the font colors in irec through CLAF responsiblity. But a strange thing is happening. Though the color is reflecting, the gif images are missing (logout, personalize etc) and the link text below it are appearing like breadcrumbs. Also , the tabs are completely removed and the tab labels are appearing like breadcrumbs. My CLAF is based on base-desktop.
    I also tried to create a new CLAF without any change in colors and saved it and attached to the profile and bounced the apache. But the gif and tabs are missing.
    Could someone tell me why is this happening. It is very urgent.
    Regards

    Hi:
    The DBA's did the following as I have mentioned below:
    Clear the image cache - /OA_HTML/cabo/images/cache
    Clear the cache - /OA_HTML/cabo/styles/cache
    Bounce the apache.
    Restart the server - X.11 display server
    These are the permissions for the directories:
    /home/apps/ora_fin/IHR25D/common/html/cabo/images - drwxr-xr-x
    /home/apps/ora_fin/IHR25D/common/html/cabo/images/cache - drwxr-xr-x
    /home/apps/ora_fin/IHR25D/common/html/cabo/styles - drwxrwxr-x
    /home/apps/ora_fin/IHR25D/common/html/cabo/styles/cache - drwxr-xr-x
    But still I am not seeing any gif images or tabs.
    Regards
    Sun

  • Custom Look an Feel Queries

    Dear All
    I have created a Custom Look and Feel where i had to change the Colors and Font of the Application as per the Clients requirement. I have acheived almost all the requirements what they are looking for but there are Few things which are troubling me. It would be a real great help if some oe can help me in this.
    1. The Font of the Login Page is showing different than all the other pages and i am not able to identify which Style to touch for it.
    2. The Global Links in the Footer Region are not visible and also there is no space comming up between the Copy right and Privacy statment.
    3. In iRecruitment Home Page the tabs Home / Vacancies / Candidates are moved to right hand side where as they have to be in the Left hand side according to Swan Look and Feel.
    Can any one suggest me on this.
    Thanks in advance.
    Regards
    Srujana

    Thanks a lot! One more question though, where can I find the source code for the ComponentUIs and BorderUIResources used by the Metal look and feel? It would be easier if I could see those and just copy-and-paste code and change it in relevant places when I need to partly change a method.

  • NetBeans: Dinamically changing Look and Feel Problem

    Hi there, Java lovers.
    I need some help here!
    I love java, and I used to program my graphical user interfaces by hand. In my applications, there is a dropdown for the user to chose the desired look and feel. Then I save the selected option to a file and on the startup I do something like this:
                UIManager.setLookAndFeel(savedUserSelectedLookAndFeel);That always worked really fine. The look and feel would change and everything worked really well.
    However, programing GUI by hand is really a PITA. So I was seduced by Netbeans. I am using Netbeans 6.0 on Windows XP, and I designed the GUIs really fast now.
    The problem is, the system look and feel works really well, but when I change the look and feel of my application to a different one (Java/Motif/etc..) the look and feel changes but the components positions and sizes becomes all messed up. It really becomes impossible to work with a different look and feel because some components are outside of frames.
    I believe the cause of this is because Netbeans generates the code automatically using Grids and stuff like that, and by doing so, the change of the look and feel becomes messed up. This is a thing that would not happen with my manually created code.
    This is really troubling me. Does someone has the same problem. Is there something I can do? Or do I need to create my GUIs by hand like before?

    Oyashiro-sama (&#23569;&#12375;&#26085;&#26412;&#35486;&#12434;&#30693;&#12387;&#12390;&#12356;&#12427;&#12375;&#12289;&#12381;&#12435;&#12394;&#12300;&#27096;&#12301;&#12387;&#12390;&#12356;&#12358;&#20351;&#12356;&#26041;&#12399;&#12385;&#12423;&#12387;&#12392;&#22793;&#12381;&#12358;&#12391;&#12377;&#12397;&#12288;(^_-) &#12300;&#20887;&#35527;&#12301;&#12387;&#12390;&#12356;&#12358;&#38996;&#25991;&#23383;&#12391;&#12377;&#12290;&#65289;
    Sorry for the delay in reply, but one problem for you is that this is not a NetBeans users forum, thus you will not necessarily receive speedy replies here to your NetBeans questions. The best place to send NetBeans questions is:
    [email protected]
    [email protected] (for NetBeans API issues)
    As for your question, you seem to already know quite a bit about NetBeans UI Look and Feel programming, but have you seen these:
    WORKING WITH SWING LOOK AND FEEL:
    http://java.sun.com/developer/JDCTechTips/2004/tt0309.html#1
    Java GUI Swing Programming Using NetBeans 5 (should apply to NetBeans 6):
    http://wiki.netbeans.org/JavaGUISwingProgrammingUsingNetBeans5
    Regards,
    -Brad Mayer

  • WebDynpro look and Feel

    Hi,
    I created a webdynpro application and deployed into portals. We are running Portals SP11. But the webdynpro is not getting custom look and feel what has been added to the portal by default, it is displaying SAP Color theme.
    Any ideas please?
    Thanks
    Vijay

    Hi
      Are your J2EE instances different for WAS and EP. If they are then what is the version of your WAS. You have mentioned EP as SP11.
    Note : In SP11 the below mentioned procedure slightly affects the theme. It works fine in SP10 though. See if the steps mentioned below is of any help to you.
    If you want the color schemes to apply for WebDynpro then you will have to set the theme for the WebDynpro application too.
    Download the Theme Editor available in SDN.
    Follow these steps
    Create a new theme editor project with the same name as the theme name in the portal.
    Import your theme file into WebDynpro.
    You will have to generate your custom theme and then right click and export your theme as a zip file.
    Then extract the Zip file to a folder.Copy the extracted files into the folder
    C:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\webdynpro\web\sap.com\tcwddispwda\global\SSR\themes
    Then give the path in your Visual Admin --> Configuration Adapter --> WebDynpro >tcwddispwda> default.properties
    Type the path as the following.
    http://<machine_Name>:50000/webdynpro/resources/sap.com/tcwddispwda/global/SSR/themes/sap_chrome
    and also set the property useWebDynproStyleSheet property to true and then restart your J2EE server.
    Hope that helps you. Let me know if you require more inputs
    regards
    ravi

  • Error While running Oracle Look and feel Template Form -  (LAF_TEMPLATE)

    Forms Version 10.1.2.3
    JRE version 1.6.0_30
    Operating System Windows XP
    I am trying to setup oracle look and feel project on my local machine.
    For that i upgraded forms to 10.1.2.3 then i also applied path no *9593176* (But not yet performed steps related to jacob and webutil).
    Problem : When i run Oracle look and feel template form it comes up with following error.*
    Forms Applet version is : 10.1.2.3
    Exception in thread "thread applet-oracle.forms.engine.Main-1" java.lang.NoSuchMethodError: oracle.forms.handler.IHandler.getApplet()Ljava/applet/Applet;
         at oracle.forms.fd.DrawLAF.init(DrawLAF.java:285)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
         at oracle.forms.engine.Runform.startRunform(Unknown Source)
         at oracle.forms.engine.Main.createRunform(Unknown Source)
         at oracle.forms.engine.Main.start(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    Hello,
    I have spent a lot of time to indicate wherever I could that you don't have to ask questions about the LAF on this forum. You have two other different locations, a dedicated email and a dedicated forum.
    At the first sight, it seems that you have not used the laf_10123.jar in your archive tag.
    Thank you,
    Francois

  • Changing the look and feel of the logon screen and portal themes.

    Dear all,
    we got some  requirements  in the portal  where i have implement the following things..
    1) when we give the portal url in the browser along with logon screen i have to display the some content related to the organaisation ,,, there i want to do logon screen customization also.
    2)once login to the portal i need display the some company related information along with  different ESS services .i want to remove the masthead area and in the  role area want to display different services.
    please guide me   to achive this.
    the client is not at all happy with  present look and feel,
    so what we can do t achieve ths?
    Thank you in advance.
    Swapna

    Hi Swapna,
    Portalapp.xml is the configuration file of portal application holding comonents and services. Where as authschemes.xml file is used to determin and tell portal which of the user authentication schemes is to be used. It also tells portal about which logon PAR file should be used. It is defined inside following tags.
    <frontendtarget>Logon PAR File Name</frontendtarget>.
    Take a scenario for example. You have created a custom logon PAR file and made some changes. You cannot see the changes before deploying it. You have to deploy it first. Now, you want that whenever somone logon to portal, your logon PAR should be referred and executed. Authschemes.xml does this work. It maintains a reference to the PAR file that should be used for logon.
    Now, still have to create a custom authschemes.xml file and upload it. (Follow this link for the authschemes file location http://help.sap.com/saphelp_nw04/helpdata/en/1a/3afd4e641b8f42ac07bb77fe30375b/content.htm)
    Refer this link for details on authschemes.xml file: http://help.sap.com/saphelp_nw04/helpdata/en/d3/1dd4516c518645a59e5cff2628a5c1/content.htm
    Let us see in brief what are the steps executed:
    1) You request a portal login
    2) Portal, after receiving a request, looks for a reference to which Authschemes file to be used. It finds it in Visual Admin
    3) Once portal have the name of authschemes file, it parse this file and determin what are the authentication schemes to be used and which logon PAR should be executed.
    4) Only after these steps, it renders logon page to you
    Once you do all these steps, you can see the result on logon page itself. You do not have to look for deployed PAR file.

Maybe you are looking for

  • Missing contact when "create new contact" from email or number

    I am having a really strange problem on my iPhone and think it will be a fun mystery to solve. Please help me! It is currently set up with google so that my mail/notes are using gmail IMAP and my contacts/calendars are using Google Sync. So far it's

  • Is there any way I can re-edit a finalised DVD?

    I watched a DVD recently that I created on iMovie four years ago and decided that I would like to tweak it in order to improve it- now that i'm more proficient with iMovie. Is this at all possible to do with a finalised disc? There has to be a way in

  • Duplicate Condition Record Number !

    Hi Experts, I have a question on condition record number: I have a Material SH00001 in  more than one Sales Orgs. Example: MTD and NTD. 1. Is it possible SAP generates the same condition record number (field- KNUMH) for both sales organisation when I

  • Scroll in a tab canvas

    I have a master fixed horizontal toolbar attached to a 2 page tabbed canvas. The first page is a detail block of say 5 records displayed vertically. How can I add a scroll bar verically to scroll tru my columns as there are lots some 20 columns for t

  • EDI configuration responsibilities

    Hi, When a team is configuring EDI interface, what tasks are done by 1. functional people 2. technical people 3. basis people Basically I would like to know the roles of the functional, technical, and the basis teams regarding EDI configuration Thank