GUI screwed up sometimes with Custom Look & Feel

Hello,
i've got a few problems with my JApplet. Im using a custom Look and Feel (Kunststoff, http://www.incors.org/index.php3 very nice) - my problem is that sometimes (often) my gui is screwed up - some parts like a JPane are not rendered in the custom look & feel, they are still default, but the buttons are. Or my whole dialog looks like a little puzzle - small pieces are cut out.
I have no idea how to avoid these bugs, im not certain that this is because of the custom look and feel because i seem to have the same problems with the metal look and feel from java.
I tryed to put a repaint() in my initiliaze of my dialog classes at the very end, but no success either...
Any help would be greatly appreciated.

Hello,
i've got a few problems with my JApplet. Im using a custom Look and Feel (Kunststoff, http://www.incors.org/index.php3 very nice) - my problem is that sometimes (often) my gui is screwed up - some parts like a JPane are not rendered in the custom look & feel, they are still default, but the buttons are. Or my whole dialog looks like a little puzzle - small pieces are cut out.
I have no idea how to avoid these bugs, im not certain that this is because of the custom look and feel because i seem to have the same problems with the metal look and feel from java.
I tryed to put a repaint() in my initiliaze of my dialog classes at the very end, but no success either...
Any help would be greatly appreciated.

Similar Messages

  • Custom Look&Feel problems with ComboBoxEditor

    hi, im trying to create a custom look and feel and have some problems with the ComboBoxEditor. the non-editable combobox works fine, but the editable makes problems. if i select an item from the dropdown, the value doesn't get updated in the editor and trying to select text results in this error:java.lang.IllegalArgumentException: Invalid location
         at javax.swing.text.JTextComponent.getSelectedText(JTextComponent.java:1453)
         at javax.swing.text.JTextComponent$AccessibleJTextComponent.getSelectedText(JTextComponent.java:2192)
         at javax.swing.text.JTextComponent$AccessibleJTextComponent.caretUpdate(JTextComponent.java:1885)
         at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:356)
         at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:3165)
         at javax.swing.text.JTextComponent$MutableCaretEvent.mouseReleased(JTextComponent.java:3220)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
         at java.awt.Component.processMouseEvent(Component.java:5100)
         at java.awt.Component.processEvent(Component.java:4897)
         at java.awt.Container.processEvent(Container.java:1569)
         at java.awt.Component.dispatchEventImpl(Component.java:3615)
         at java.awt.Container.dispatchEventImpl(Container.java:1627)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
         at java.awt.Container.dispatchEventImpl(Container.java:1613)
         at java.awt.Window.dispatchEventImpl(Window.java:1606)
         at java.awt.Component.dispatchEvent(Component.java:3477)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:480)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)im using this code
    import java.awt.Component;
    import javax.swing.ComboBoxEditor;
    import javax.swing.JTextField;
    public class PlastikComboBoxEditor extends JTextField implements ComboBoxEditor {
         private Object value ;
         public Component getEditorComponent() {
              return this;
         public void setItem(Object anObject) {
              value = anObject ;
              super.setText(value.toString());
         public Object getItem() {
              return value ;
    }has anyone a clue how to fix this?

    as always. just got the idea a few minutes after posting. the problem was, that i cached the TextFieldUI in the textfieldui class instead of creating a new UI for every textfield. now it works fine.

  • OHJ show blank topic window with Nimbus Look & Feel

    Hi,
    I am using Oracle Help for Java. When I switch to Nimbus Look & Feel the topic window is blank - it does not display topic information. When I click button <Print> in topic window the topic is printed correctly. The same help work properly in other Look & Feels.

    The application that demonstrates this problem is jEdit - an open source text editor. I was told that the development of this editor started before JScrollPane was added to the JRE. Currently there's a lot of code, with high complexity, that replaces the JScrollPane for the text component of the editor, and I wouldn't go change it now. But leave that aside - I am particularly interested to know if this behavior is a bug in Nimbus or maybe my understanding of it is incorrect.
    In any case I don't want to hide the casing of the scrollbar, just the scrollbar (thumb) inside the casing. Isn't it strange that without modifying the value or limits, the scrollbar suddenly appears when the view becomes wider? It should be the other way around, the scrollbar should become visible when the view becomes narrower than the contents.

  • Partial selection problem with different Look & Feel

    Hi,
    Is there any [free] Look and Feel which supports the partial selection
    of checkbox. I have tried the same with LiquidLnF & SkinLnF these Look and Feel doesnot support partial selection (it shows full selection instead).
    please suggest something.....
    thanks,
    parag

    Surely a L&F can't cover this, since a check box only has two logical states. L&F is just a means of expressing the model, and the model won't support what you're doing.
    I'm sure there's a three-state check box component out there if you look for one.

  • JTree.linestyle doesn't show with Windows Look&Feel

    Hi guys,
    I've a problem with the JTree.linestyle. In my application works fine with the GTK and the Metal L&F, but in the Windows L&F doesn't shows any lines or angles.
    I'm using j2sdk1.4.2.
    Anyone else have the same problem? Any solution?
    Thank you very much in advance.
    Best Regards,
    Carlos.

    Solved in http://forum.java.sun.com/thread.jsp?forum=57&thread=433899&start=0&range=15#1951313

  • 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

  • [JProgressBar][Look&feel] Change the color

    I want to change the color of my JProgressBar :
    I have tried :
    UIManager.put("ProgressBar.foreground", new ColorUIResource(255, 0, 0));
    progressBar.updateUI();
    and
    progressBar.setForeground(Color.RED);[b]
    When I use the default look&feel, it works but with a custom look&feel (com.birosoft.liquid.LiquidLookAndFeel), the color isn't changed.
    Does anybody has an idea ?
    thanks in advance
    sylvain_2020

    hi,
    you're right but when I do :
    <b>this.progressBar.setForeground(Color.RED);
    this.progressBar.updateUI();</b>
    Nothing changes. I found that the probleme comes from the look & feel that I used since the color is changed when I don't specify any look and feel ...
    Do you know how I could resolve this ?
    Sylvain

  • Look & Feel of Applet

    I have a static initializer in my Applet:
    public class ObjectEditApplet extends JApplet implements ActionListener {
    static {
    try {
    UIManager.setLookAndFeel (UIManager.getSystemLookAndFeelClassName());
    }catch(Exception e) {
    Do something...
    It shows all the Applet contents with Windows Look&Feel the first time. Next time the Applet is loaded it has Metal Look&Feel. I have seen that many have had the same problem but none of the simple solutions suggested have worked for me. Putting the code in the Applet constructor makes at least some panels show up with the right Look& Feel.
    What am I supposed to do? Thanks in advance for any hints!
    Magnus

    Hello!
    I think this is a known problem, try to put your "change look and feel" code in the start method of your applet, this may help.
    If not, then try the following after setting up the look and feel:
    SwingUtilities.updateComponentTree(this);
    where "this" is your applet.
    Good Luck
    Taoufik

  • Customizing ADF Faces Look & Feel. Some questions & suggestions

    Hi everybody,
    We are developing an application with ADF Faces using JHeadStart. For the moment, I am studying the way we must modify the JHS templates to adapt each element to our needs.
    As it's told in the JHeadStart Developer's Guide, there are two ways to customize Look & Feel:
    1) Modifying the templates
    2) ADF Skinning
    I'm using both methods, but I feel that thay are not good enough to adapt the L&F to our customer requirements.
    My main problem now is in the ADF Table customization. I want to use ADF Table because it offers us a lot of features that are not in the jsf table (the selection column, the table overflow...), and is very usefull combined with the generated JHS code. But at the same time, it doesn't offer a lot of functionality in the look & feel customization. Using JSF Table, I can set the CSS style for headers, rows, columns, the table, I can set the border, cellspacing and cellpadding. But I cannot do
    any of these thing (or at least, I don't see how) with the ADF Table.
    Our customer (a government) have a strict definition of the look & feel of his web applications. They want we use their CSS styles definition file, so they can modify at once the Look & Feel of all their applications. Modifying the L&F through skinning generate other styles, not use the style classes in our CSS (o so I think).
    So, the questions:
    1) There is any way to set the suitable styles for the ADF Table components (headers, rows)?
    1bis) Why, If I have defined a new skin, with only just a few selectors, some styles from oracle are applied? Maybe because the render kit in the 'adf-skins.xml' is "oracle.adf.desktop"? If it is true, how can I make that they are not used, I must implement a render kit or can I use another existent?
    2) Can I decide how looks the select column (for example a button instead of a radio button)? Can I decide where does it goes (right or left)?
    3) There is any way to hidden the text Show/Hide of the showDetail in the table (the tableOverflow), as I can change the icons through skinning? If it is not possible, How can I overwrite the text. I need it in Catalan, but it is shown in English for this locale. Where is the message bundle I should overwrite?
    4) There is any way to force a tree to start fully expanded?
    5) There is anywhere documentation about the javascript functions used in ADF and their meaning? I think for example in the previous question. If I knew which javascript function I should call for expand the tree and its parameters, I could put the call in the onload event of the body.
    6) I use a selectInputDate. I have skinned the launch-icon, and I would like to do a similar thing in the chooseDate that is opened in a new window. But It seems not to be affected for my skinning directives (if I put a chooseDate in the same page, its L&F follow the skinning rules I've defined). I don't know if this dialog is an ADF feature or a JHS generated feature.
    7) There is any way to keep unmodified the id I've choosed for a component? (I mean, an inputText with id="hello" in a form with id="form" will have in the HTML an id = "form:hello", but I would like it to be simply 'hello')
    8) How can I control the position and the size of a dialog (the chooseDate dialog or a dialog I've created)? In the cases I've been testing, it seems the dialog is forced to resize depending on the content. I would like to know if I can establish a fixed size.
    9) There is any way to open a non-modal dialog? (which I could keep open at the same time that another instance of the same dialog)
    For the moment, I think I have no more question. But give me time.... :-D
    The suggestion I've to do is basically more flexible components for a better customization (for example, the styles settings I've talked about previously). ADF components are nice and powerful, but I think they should generate pages that follow the tendencies in the web development: tableless pages (I cannot understand the utility of the objectSpacer existing the margins), use of CSS for layout...
    Any answer, comment or suggestion will be welcome.
    Carles.
    Message was edited by:
    cbios

    I have been able to make the UIX 2.2 and ADF Faces LAF look near identical by updating the oracle-desktop.xss file within UIX 2.2 as follows
    <!-- Change the accent color ramp to tan -->
    <style name="DarkAccentBackground">
    <!--<property name="background-color">#cccc99</property>-->
    <property name="background-color">#d2d8b0</property>
    </style>
    There are still some differences:
    1) A black line appears on the ADF Faces on the 'menu1' facet selected tab below the text. DON'T KNOW HOW TO REMOVE THIS FROM ADF Faces or add it to UIX 2.2!!!
    2) In UIX 2.2 a bulleted list uses the HTML <li> tag. In ADF Faces it doesn't use the HTML <li> tag rather it constructs the bulleted list using lower level HTML tags with the 'bullet' becoming an image, in my browser this means the disc is smaller in Faces. The motivation for this change I think is explained via this post. Since I have no control over how this specific HTML tag is rendered it forces me to replace the /adf/images/bltdscn.gif file in adf-faces-impl.jar with a larger disc!
    http://www.thescripts.com/forum/thread96839.html
    May update this again if there are other things I notice.

  • 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!

  • SG 7.1x158 crashes when applying custom look with Premier Dynamic Link

    The sequence opens just fine, and I'm able to create a grade for a selected clip.  However, when I save the custom look and then try to apply it to any other clip, SG crashes.  Odd thing is that I've tried a couple of the example looks and they don't crash.  Crash only occrus when I choose any of the custom looks I've saved. 
    Only workaround I see at this point is to apply the look using Lumetri in Premier, which seems to work just fine.
    Anyone else run into this problem?
    --Ken

    Hi,
    This is a known issue when applying custom looks with masks. We are working in a solution, please keep tuned.
    Thanks,
    Fran

  • Why does Firefox, like others, feel it's so important that their updated browser have a "brand new look"? I don't want a "brand new look." I'm happy with the look as it is. So I will NEVER go to Firefox4.

    Why does Firefox, like others, feel it's so important that their updated browser have a "brand new look"? I don't want a "brand new look." I'm happy with the look as it is. So I will NEVER go to Firefox4.

    Firefox is highly customizable and you can customize Firefox 4 to look like Firefox 3.6, for details see http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6

  • 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.

  • I reached my 1000th hour logged on the phone with customer service

    I've been using Verizon jetpacks for 9 months now.  Seemed like a sweet deal. Prepaid. Convenient. Fast and reliable.  WRONG!  I logged my 1000th hour on the phone with customer service today after a 5 hour "troubleshooting" session, second one this week. I've been having to make this exact 5 hour phone call every week sometimes up to 4x per week.  I've never spent less than 3 hours on the phone or gone more than 4 days without having to contact customer "service."  Naturally, this is pretty ignorant sounding.  But, I paid $100 for a significantly small amount of data.  I prepaid to be exact. For a service to be rendered one must be able to receive the service paid for.  That's simply not the case.  I paid $100 for this data already and can't actually use it with any convenience. Unless of course, 5-20 per week on the phone with customer service is typical of any other company.  Other than Virgin Mobile, No.  It's in fact an extremely absurd amount time for ANY customer to spend on the phone with ANY customer service.  No exception.  I feel rather abused, used and ****** over by this so call "service".  I lost 6 clients. They all sued me in small claims for $3000 each for failing to maintain my end due to my weekly dose of hours on the phone with customer service and NOT doing the job I was employed to do. Nope. Instead, I spent my time with Verizon Customer Service and COURT! Yay!  So, I've lost my home, my car was repo'd, $18k loss, 6 customers... and not one time has Verizon spent one second and said to me "Verizon could be the problem"... NEVER has that been the case in all 1000 hours logged.  Interesting?  No.  Just abusive.  I resent having to call customer service at all any more. It's even causing my mental health to suffer after all this.  You know what is found every time?  I'm on a prepaid plan on a device customer service told me to purchase.  But wait... thats the second device.  Every week I'm told The OTHER device is the one that works with this plan... then a few days later, no that other device is the one that works with the plan, a few days later... The OTHER DEVICE IS THE ONE THAT WORKS.. FFS. See a pattern? I've been directed by Verizon to replace my device 3 times, at $100+ per device plus the $10 sim card, plus the 5 hours on the phone with them every few days.  I'd say there's an issue with customer service.  First, yes it IS possible there is an issue on YOUR end.  I'm pretty sure that having to buy a new device every time I call isn't really the best answer.  Second, for the extremely limited amount of data I can't afford to watch a video for fear of capping my data before the end of the 30 days because its 10gig of data.  Yeah, 2 whole movies worth!  Third, its possible to be wrong, yet Verizon has never, not one single time chose to check their end.  ALWAYS and ONLY my end. I don't find that surprising or ironic, I find it the most ignorant and worst customer service in existence only second to Virgin Mobile.  Virgin mobile did finally acknowledge the issue was in the broken tower nearby. It took them 6 months and yes... 100's of hours on the phone.  Verizon hasn't made any effort to accept responsibility for this issue.  I'm sure they are very sincere when they are consuming my 5 hours per phone call trouble shooting my device for the third time this week.  It's actually to the point where they have violated their terms of service and failed to look into an issue on their end.  The tower has been hit.  Hmmm... Ironic. Its quite a distance from here, but is a main tower that has caused an outage across my state. Verizon couldnt tell me that?  Is that admitting your wrong so hard to do that it's easier to spend 5 hours on the phone trouble shooting my device than 5 mins looking for outages?  Yeah, it could have saved my house and job, but I'm the customer... clueless idiot at the mercy of a company who is never wrong nor makes an effort to correct an issue on their end before stealing my hours from me.  At one point, I actually fell asleep in my 2nd hour on hold.  Customer service? Nope, a waste.  I could dig it if this issue was on my end, but I'm confident that spending up to 20 hours a week troubleshooting to no avail is a HUGE red flag that its not on my end after all.  Only cost me a house, a job, car and $18k plus court costs and fees.  Fair? Nope.  But it would be nice if just ONCE there was an initiative to provide actual support to a customer. I KNOW if this is my experience it is impossible to be an isolated incident with me alone.  If I'm tying up 5 hours on the phone, what is the next guy doing? waiting to trouble shoot his box for the next 5 hours over a downed tower. Pride is what that is. People too proud to be wrong at someone else's expense. Definitely an issue if I've paid $900 in 9 months and I spent more hours on the phone with customer service than I have online.  Pretty ******. Verizon, you ARE WRONG. Owning it would save the embarrassment of having to ***** about it on this site. I didnt' deserve my losses and it was at my expense and it is STILL at my expense that I'm having to contact that 888-294-6804 number. I've got it memorized like it was my best friends number - that's how often and how many times i've used it. Shame how simple it would be if Verizon wasn't so ******* proud and spent a few moments looking for issues on their end before stealing 5 hours from me doing the obvious over and over and over again... Small claims can be used to sue up to $3k. Looks like that's my only alternative, perhaps if I do that maybe checking for issues on their end will occur instead of pretending its impossible.  It feels like I went to mcd's and paid for a meal at the window that took 5 hours to get a bag of raw patties thrown at me from inside after sitting at the window for 5 hours and waiting. I'm wrong  of course. I'm am the customer.  How could I possibly be right? I've troubleshooted my device over 1000 times. Of course its on my end. Must be.... 1000 times isn't enough to find out there's a potential issue that isn't related to my specific device, no? Is it gonna take 1000 more hours on the phone before one of the representatives decide to look for an outage before the 5 hours of daily trouble shooting? Thats a huge red flag that just keeps getting ignored.  I can't think of any other companies besides these two internet providers that finds that acceptable.  Better Business Bureau didn't. I'll be filing that complaint with them next.  High time Verizon stepped off such a prideful pedestal and seek a remedy before a class action suit sinks them in the future from all other raging bitches not being provided with reasonable service.  It's not a rant, this has been a life shattering experience for me and a simple quick check for an issue on their end could have prevented it.  BAD BAD BAD Customer service policies to keep a customer on the phone for that length of time to repetitiously check the exact same thing repeatedly every few days.  Disgusted.  How dare that term "service" even be used if they can't provide "service" via support or otherwise.  I'm on the internet finally after 10 hours and the news reported the Verizon tower down. Not verizon... A police officer interviewed on a Detroit News station instead. God knows police have nothing better to do in Detroit than make news appearances for verizon. 

    Simple solution. Get a real internet service and not a cell phone internet connection service it was never meant to be used as the primary internet service
    And how do you lose a home and job and be sued as you claim. What over 10 Gb of data? Give me a break
    In my city small claims is $5000.00
    And over that amount you can go to a superior court to have your issue settled.
    http://www.bbb.org
    Good Luck, Elector

  • Crashing out with Custom L&F

    Hi, I have a couple of problems when trying to use OHJ in a (I think) basic fashion.
    I initialise the hlep with:
    Help help = new Help(true, true, true);
    helpManager = new CSHManager(help);
    URL helpsetLoc = ClassLoader.getSystemResource("help.hs");
    Book book = new HelpSet(helpsetLoc);
    helpManager.addBook(book, true);
    helpManager.setDefaultBook(book);
    This seems to work fine. If I try to use F1 functionality via:
    helpManager.addComponent(myPanel, "myTopic", true, false);
    then nothing seems to happen at all. If I try to launch it on the press of a button, using:
    helpManager.showTopic("myTopic");
    then it crashes out in a big way with:
    java.lang.NullPointerException
         at oracle.bali.ewt.dTree.DTreeButtonDecoration.paintDecoration(Unknown Source)
         at oracle.bali.ewt.dTree.DTreeStackingDecoration.paintDecoration(Unknown Source)
         at oracle.bali.ewt.dTree.DTree.paintCanvasInterior(Unknown Source)
         at oracle.bali.ewt.scrolling.ScrollableComponent.paintComponent(Unknown Source)
         at javax.swing.JComponent.paint(JComponent.java:804)
         at javax.swing.JComponent.paintChildren(JComponent.java:643)
         at javax.swing.JComponent.paint(JComponent.java:813)
         at javax.swing.JViewport.paint(JViewport.java:707)
         at javax.swing.JComponent.paintChildren(JComponent.java:643)
         at javax.swing.JComponent.paint(JComponent.java:813)
    <snip>
    I have a slightly custom L&F in use. Any ideas what I'm doing wrong ??
    Thanks,
    Michael.

    Hi again.
    I solved the crash part. It was mainly down to my Look & Feel not having set some property or other. I'm not entirely sure which, but as the Swing L&F is particularly fussy (and terribly implemented), it would seem it's more of a generic problem, than one with Oracle Help. Anyway, It's working now for whatever reason, so I'm not going to worry too much about that.
    The F1 problem is related to the fact that I'm using JDK1.4. Sun, in their inimitable wisdom, changed the way KeyEvents work, with their new FocusManager, so that only the component that has focus, can receive events.
    This is no good for generic F1 help over say, a Button or panel, which may not be the currently focused component (you have the focus in a textfield, but want contextual help on the component you're holding the mouse over when you press F1).
    Again, I've solved it using a workaround. Basically, it involves making sure any components that need contextual cursor-hover help, implement KeyDispatcher, and the fire events to their KeyListeners whenever they receive a KeyDispatchEvent and the mouse is over them (so they implement MouseListener as well). It's a bit of a kludge, but it provides the user with the correct functionality.
    Thanks for the help.
    Michael.

Maybe you are looking for

  • Adobe Muse update won't complete - says up to date in Creative Cloud

    I became an Adobe Creative Cloud member yesterday. I downloaded the Muse app on my work computer, and then the update that was popped up and it worked fine. I started to design a website - but when I went home and downloaded the program on my compute

  • Can't access the "delete from server" option in AOL mail setting.

    iPhone 4s, ios 5.1, Verizon customer. I have never had an issue until this phone. Any ideas why I can see the "delete from server" option, but I can't check it? It's really annoying to delete emails from my phone and then have to go back and delete f

  • Service Manager is Dissable?

    Hi Experts, Install SAP B1 8.8 PL10 in Windows 7 SQL Server 2008 R2 Everything Install with Run as Administrator Everything working fine but Service Manager is Disabled. Any idea about this. Thanks, Srujal Patel

  • SyncServer and MobileDeviceHelper errors

    Hi, Every time I open up iTunes with my iPod Touch connected, I get the same errors, and I can't sync my iPod: SyncServer has encountered a problem and needs to close. We are sorry for the inconvenience. AppName: syncserver.exe AppVer: 17.641.13.22 M

  • Https Problem - ClosedChannelException

    Hello, I have a webservice that I deployed into the standalone OC4J. I then enabled https according to the instructions given in http://download.oracle.com/docs/cd/B25221_04/web.1013/b14429/configssl.htm ! When I'm calling the webservice via Firefox