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.

Similar Messages

  • Emty topic window in Nimbus Look and Feel

    I have Java applications using OHJ. When we swith to Nimbus Look and Feel our topic Windows is blank. Helps work correctli in other look and feels. If I print topic it's is printed correctly, so information is there but it is not visible.

    AndrewThompson64 wrote:
    No, I'd say it is a pity that you did not initially use layouts when creating the code in Netbeans. There is no point blaming the tool. Well, some of this code is almost 10 years old (and i didn't write it), and back then nobody used layouts correctly. Even now java layouts are a pain to use compared with other GUI layouts (FLEX, HTML). Our customer just wants a prettier GUI on top of this legacy java app.
    We looked at incrementally using JavaFX to slowly change out screens, but it doesn't support integration with a regular java application (why?)
    Even with a unsupported workaround i cannot open a modal dialogs from JavaFX. I think they are targeting JavaFX at the wrong market, it is usless as a RIA and will never beat out Flash. They should have targeted it as a Swing replacement. Just my 2 cents.
    >
    That seems a shoddy 'solution'. Even the current code under the current PLAF might fail on another screen size, resolution, default font size or a number of other factors..This is true, unfortunately the code base is very very large (300k lines).

  • After installing windows xp accidentlly i erased macintosh hard disc. Now my macbook shows blank white screen with sign of folder with '?' blinking. Now what to do please help

    After installing windows xp accidentlly i erased macintosh hard disc. Now my macbook shows blank white screen with sign of folder with '?' blinking. Now what to do please help

    Avoid using hand-tools or power equipment .
    "My mac book did not come with dvd. Now what should i do?"
    Bring it to the Apple store. They can help.

  • Blank Topic Window is Displayed

    Hi,
    I am working on Search part of the navigator window. I generated the index file (.idx) by running the following command line:
    C:\Program Files\ohelp>java -mx64m oracle.help.tools.index.Indexer -l=en_US -e=8
    859_1 C:\TestHelp\topics myIndex.idx
    When I typed in word in the search combo box, it provided me the search results. However, when I selected a topic and clicked open, it displayed a blank topic window. I don't know what I've done wrong. Please guideline me.
    Thank you so much,
    Bee

    Hello Christian,
    Your suggestion is working. I already fix the problem of displaying an empty topic window. Thanks for your help again.
    I would like to ask you question about the search functionality. Can it be invoked externally? Our team is going to create a custom user interface that performs searching. Let's say we build a Java application and have a text field for user to enter words for help. Once he/she enters the keyword and presses Enter on the keyboard. The system retrieves the relevant topics matching with the input words. Then, the system displays those relevant topics on the screen. When the user double click those topics to display, the topic window is shown with assoicated contents. Can we implement this scenario by using the OHJ? If we can, please help us get started.
    Regards,
    Bee

  • I just turned on iTunes on my Mac and suddenly instead of the usual song list there's a window with what looks like a screensaver graphic.  Anyone know how to get rid of this permanently?  Thanks.

    I just turned on iTunes on my Mac and suddenly instead of the usual song list there's a window with what looks like a screensaver graphic.  Everytime I close it it just comes back.  Does anyone know how to get rid of this permanently?  Thanks.

    See this thread...
    tt2

  • Getting incorrect JComboBox color through UIManager in Nimbus Look&Feel

    Hello all,
    As I implementing a multi columns JComboBox, I need to provide my own custom ListCellRenderer.
    * @author yccheok
    public class ResultSetCellRenderer extends javax.swing.JPanel implements ListCellRenderer {
        // Do not use static, so that our on-the-fly look n feel change will work.
        private final Color cfc  = UIManager.getColor("ComboBox.foreground");
        private final Color cbc  = UIManager.getColor("ComboBox.background");
        private final Color csfc = UIManager.getColor("ComboBox.selectionForeground");
        private final Color csbc = UIManager.getColor("ComboBox.selectionBackground");
        private final Color cdfc = UIManager.getColor("ComboBox.disabledForeground");
        @Override
        public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
            System.out.println("UIManager.getColor(ComboBox.selectionForeground) = " + UIManager.getColor("ComboBox.selectionForeground"));
            System.out.println("UIManager.getColor(ComboBox.selectionBackground) = " + UIManager.getColor("ComboBox.selectionBackground"));
            this.setBackground(isSelected ? csbc : cbc);
         this.setForeground(isSelected ? csfc : cfc);
            jLabel1.setBackground(isSelected ? csbc : cbc);
         jLabel1.setForeground(isSelected ? csfc : cfc);
            jLabel2.setBackground(isSelected ? csbc : cbc);
         jLabel2.setForeground(isSelected ? csfc : cfc);
            jLabel3.setBackground(isSelected ? csbc : cbc);
         jLabel3.setForeground(cdfc);
            final ResultType result = (ResultType)value;
            jLabel1.setText(result.symbol);
            jLabel2.setText(result.name);
            final String type = result.typeDisp != null ? result.typeDisp : result.type;
            final String exch = result.exchDisp != null ? result.exchDisp : result.exch;
            jLabel3.setText(type  + " - " + exch);
            return this;
    }I try to get the selection colors of JComboBox through UIManager.
        private final Color csfc = UIManager.getColor("ComboBox.selectionForeground");
        private final Color csbc = UIManager.getColor("ComboBox.selectionBackground");However, I realize that while I am in Nimbus Look & Feel, the above 2 return me null.
    May I know is there any workaround to overcome this? Or I had missed out something?
    Thanks.
    Edited by: yccheok on Oct 21, 2010 10:39 AM

    because "c" is instance of UIResource:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.plaf.*;
    public class NimbusComponentColorTest {
      public JComponent makeUI() {
        final Color c = UIManager.getColor(
            "ComboBox:\"ComboBox.renderer\"[Selected].background");
        System.out.format("c instanceof UIResource: %s", c instanceof UIResource);
        JLabel label01 = new JLabel("label01");
        /* //com/sun/java/swing/plaf/nimbus/AbstractRegionPainter.java
        protected final Color getComponentColor(...) {
          // we return the defaultColor if the color found is null, or if
          // it is a UIResource. This is done because the color for the
          // ENABLED state is set on the component, but you don't want to use
          // that color for the over state. So we only respect the color
          // specified for the property if it was set by the user, as opposed
          // to set by us.
          if (color == null || color instanceof UIResource) {
              return defaultColor;
          } else if(saturationOffset!=0||brightnessOffset!=0||alphaOffset!=0) {
        label01.setOpaque(true);
        label01.setBackground(c);
        JLabel label02 = new JLabel("label02");
        label02.setOpaque(true);
        label02.setUI(new javax.swing.plaf.metal.MetalLabelUI());
        label02.setBackground(c);
        JLabel label03 = new JLabel("label03") {
          @Override public void paintComponent(Graphics g) {
            g.setColor(c);
            g.fillRect(0,0,getWidth(),getHeight());
            super.paintComponent(g);
        JLabel label04 = new JLabel("label04");
        label04.setOpaque(true);
        label04.setBackground(new ColorUIResource(Color.RED));
        JPanel p = new JPanel();
        p.add(label01); p.add(label02); p.add(label03); p.add(label04);
        return p;
      public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
          @Override public void run() { createAndShowGUI(); }
      public static void createAndShowGUI() {
        try {
          for (UIManager.LookAndFeelInfo laf:UIManager.getInstalledLookAndFeels())
            if ("Nimbus".equals(laf.getName()))
              UIManager.setLookAndFeel(laf.getClassName());
        } catch (Exception e) {
          e.printStackTrace();
        JFrame f = new JFrame();
        f.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        f.getContentPane().add(new NimbusComponentColorTest().makeUI());
        f.setSize(200, 100);
        f.setLocationRelativeTo(null);
        f.setVisible(true);
    }

  • Desktop icon for a file on network shows blank in Windows 8.1, if selected the second icon from the library

    Hello, 
    I have a strange issue on my Windows 8.1 machine. The icon for for an executable file on the network shows blank, if I select the second icon from the library. (File->Properties->Change Icon and select the second icon - This file has two icons)
    If I re-create the IconCache.db, then it is showing correctly. But I do not want to do this every time. 
    Regards
    Mattehw

    It indicates your Icon Cache is corrupted and you need to rebuild it.
    Open the command prompt window, type each of the following and after every command, hit the Enter button:
    cd /d %userprofile%\AppData\Local
    attrib –h IconCache.db
    del IconCache.db
    start explorer
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • Help! My Safari browser shows blank on Windows 7 OS

    I am not sure why my Safari browser goes blank and I have no idea why. I was working before but it now only shows "Blank page" after I upgraded a new version of Safari about 3 months ago.
    Thanks,
    Phong Le

    In the course of your troubleshooting to date, have you worked through the following document?
    Apple software on Windows: May see performance issues and blank iTunes Store

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

  • Adobe Acrobat Professional X - shows blank dialog boxes with vertical bars

    The file and print screen and the file and properties screen both show mainly blank screens with vertical bars only on them, no text at all.
    Looking around the forum I found it may be a font problem.  Is there a way to know which font or if that is actually the problem and how do you resolve that?
    This is on a Windows 7 - 64bit system with Adobe Acrobat Professional X (10.1.12) installed.
    Thank you.

    Hi brian!
    Please see Re: Blank dialog boxes in Acrobat X Pro
    Let us know if that does the trick!
    Best,
    Sara

  • HOWTO show a popup window with ZOOM OUT effect?

    Hi,
    I want to implement such an effect in flex:
    Popup a modal window, which is showing as zooming out from
    the backgroud stage.
    I know how to implement in flash, but how in flex?
    please help.
    thanks.

    When you define the pop-up, set its scaleX and scaleY to
    zero. Then assign its showEffect to a <mx:Zoom> effect. If
    you don't set the initial scale to 0, you may briefly see the
    pop-up at full size before the Zoom effect re-scales it to zero.
    Note that your text may not scale: it depends on the font and
    if the Flash player can scale it; you can always embed the font and
    it will work correctly.
    You can make the Zoom effect either an MXML tag or create it
    with ActionScript when you make the pop-up.

  • Restoring a session only shows blank tabs, same with opening last closed tab

    I opened a link from Trillian in the middle of loading a session with the Session Manager add-on, and now none of my sessions will show anything when I start Firefox or when I reload a session using Session Manager. The number of tabs that the session loads is correct, just none of them have anything except New Tab and nothing in it.
    Additionally, the closed tabs list doesn't update, or when I load the session using Session Manager, trying to open a closed tab will open another blank tab and turn that entry in the closed tabs list into a blank tab.
    Error console shows this when I open any page:
    > Frame Script init
    > "Cu" is read-only
    And this when I close any page:
    > Warning: attempting to write ##### bytes to preference recentlyClosedTabs. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file.
    I've tested this with and without Session Manager enabled, and it's the same behavior for both session restores (correct number of blank tabs). I've tested in safe mode and sessions appear to work normally (I can see closed tabs and restore them).
    Also, Session Manager saves the correct titles and URLs of the tabs when it saves to its external storage, even though they're "blank", so I suspect the issue is something preventing the writing of an important file in my Firefox profile, but I'm not sure what or how to fix it.
    Lastly, Session Manager's add-on page says it might help to record the error console while disabling/enabling the add-on, so here is that log:
    Disabling:
    Duplicate resource declaration for 'specialpowers' ignored. chrome.manifest:32
    Duplicate resource declaration for 'gre-resources' ignored. chrome.manifest:34
    Duplicate resource declaration for 'services-sync' ignored. components.manifest:168
    Duplicate resource declaration for 'services-common' ignored. components.manifest:170
    Duplicate resource declaration for 'services-crypto' ignored. components.manifest:171
    Could not read chrome manifest 'file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/chrome.manifest'.
    Duplicate resource declaration for 'pdf.js' ignored. pdfjs.manifest:1
    Duplicate resource declaration for 'cookieswap_res' ignored. chrome.manifest:3
    Duplicate resource declaration for 'cookiesmanagerplus' ignored. chrome.manifest:3
    Duplicate resource declaration for 'personas' ignored. chrome.manifest:7
    Duplicate resource declaration for 'abduction' ignored. chrome.manifest:2
    Ignoring obsolete chrome registration modifier 'xpcnativewrappers=no'. chrome.manifest:16
    Duplicate resource declaration for 'dta' ignored. chrome.manifest:2
    Duplicate resource declaration for 'dwhelper' ignored. chrome.manifest:75
    Duplicate resource declaration for 'tabmixplus' ignored. chrome.manifest:3
    Duplicate resource declaration for 'sqlitemanager' ignored. chrome.manifest:7
    Duplicate resource declaration for 'greasemonkey' ignored. chrome.manifest:15
    Could not read chrome manifest 'file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/browser/extensions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'.
    1417333357797 Services.Metrics.Provider.org.mozilla.addons WARN Add-on type without field: userstyle
    1417333357798 Services.Metrics.Provider.org.mozilla.addons WARN Add-on type without field: greasemonkey-user-script
    Enabling:
    1417333394803 Services.Metrics.Provider.org.mozilla.addons WARN Add-on type without field: userstyle
    1417333394804 Services.Metrics.Provider.org.mozilla.addons WARN Add-on type without field: greasemonkey-user-script

    OK I managed to fix this myself so I'll post what I did here:
    The problem was caused by TabMixPlus which also has its own session manager, so I had to reinstall that addon.
    I also had to disable/re-enable every addon and delete all my cookies/cache because of some other strange issues that were happening, but whoever is reading this might not need to do that if they don't have other problems.

  • Xcode-Show and Hide windows with checkbox?

    I am making an applescript/cocoa application in Xcode 4.6. I in my Main Window, I have two windows that are hidden at launch ("Preferances", and "Advanced") and one window ("Simple") that is visible at launch. In the preferances window, I have a checkbox. I would like that box, when checked to display the "Simple" window, and Hide the "Advanced" window, and even when closed and relaunched, will remain how the preferances are, and not have to check the box everytime on startup of the app. Anyone know how to do this? Thanks!

    Ok something isn't quit right
    I in my Main Window, I have two windows that are hidden at launch ("Preferances", and "Advanced") and one window ("Simple") that is visible at launch. In the preferances window, I have a checkbox. I would like that box, when checked to display the "Simple" window, and Hide the "Advanced" window,
    What do you mean by in the main window are two windows?  Also if the checkbox is in the preferences window and that is hidden at launch how do you get to it to check/uncheck it?
    This checkbox basically toggles between the two windows? selected it displays the 'simple' window, when unchecked it displays the "Advanced" window?
    This script
    script AppDelegate
      property parent : class "NSObject"
        property ppw : missing value
        property isShowing : 0
              on applicationWillFinishLaunching_(aNotification)
      -- Insert code here to initialize your application before any files are opened
              end applicationWillFinishLaunching_
              on applicationShouldTerminate_(sender)
      -- Insert code here to do any housekeeping before your application quits
                        return current application's NSTerminateNow
              end applicationShouldTerminate_
        on displayButton_(sender)
            if (isShowing = 0) then
                ppw's orderFront_(sender)
                set isShowing to 1
            else
                ppw's orderOut_(sender)
                set isShowing to 0
            end
        end
    end script
    will toggle a second window from a button on the firsst window.
    This is what the nib file looks like
    ppw is attached to the panel.
    This should get you started. Post back if you have more questions.

  • Desktop Wallpaper shows blank in windows 7 and works in win xp & win 8.

    Dear MS Support,
    We have applied one newly designed Desktop Wallpaper for all our computers in GAVS. It is not working in win 7 and it works in Win XP and in Win 8.
    I have searched in Microsoft forums and they mentioned to install one hotfix. I tried to install and it is not working..
    Our Group Policy and working and I can able to see the wallpaper path in my registry settings.. 
    Kindly help me to fix this issue.. 
    Given below the hotfix url… 
    http://support.microsoft.com/default.aspx?scid=kb;en-us;977944&sd=rss&spid=14481

    Hi,
    After you applied the policy, what wallpaper will the Desktop of Windows 7 change to? Is it a solid colour desktop? If not, The Hotfix should not work in this case.
    Here is a very good troubleshooting guide for Wallpaper Group Policy.
    http://blogs.technet.com/b/askperf/archive/2011/12/13/wallpaper-deployment-troubleshooting.aspx
    If you have any feedback on our support, please clickhere
    Juke Chou
    TechNet Community Support

  • Installed latest muse update, now shows creative cloud window with spinning wheel that never stops. My muse is gone.

    can't figure out how to contact Adobe about this. I'm paying for Muse and can't use it.@

    Mike you can find the relevant portion of the document below:
    Solution 2
    Remove the OPM.db file and relogin into the Creative Cloud desktop application using the Adobe ID tied to your subscription.
    Mac OS: You can locate the OPM.db file in the \User\<user name>\Library\Application Support\Adobe\OOBE folder. To access the hidden user Library folder, see Access hidden user library files | Mac OS 10.7 Lion.

Maybe you are looking for

  • Open and Close Posting Period (OB52)

    Dear Experts, My client wants to close the posting period of the previous month.  First I went to transaction OB52 to define an entry From Per. 1 2008 To Per. 12 2009 to open all the posting period for the year.  But when the time passes, do I have t

  • Safari crashes before launching

    Hello, Today is the first time that I have run into this problem. As soon as I click into safari the home page goes to load, the beach ball of death appears and safari crashes. It does this every time, please help! My latest report is as follows: Pro

  • Issue for integration between GL and AR AP

    Hi All, We have problem with integration real time between GL and AR AP follows: - now system automatic transfer realtime Data from AR or AP module to GL. but my customer don't want transfer automatic realtime because on AR or AP module may enter dat

  • Internal vs. External Display Resolution

    Hi, I just purchased a KVM switch by IO Gear Model GCS1782. Hooked up my Mac Book Pro 15 inch 2.16 Ghz with DVI Dual Link and Mac Mini Power PC with DVI single link. The KVM is working perfectly. The Mac Mini Display resolution is 1680x1050 as normal

  • Iphone web pages dont close in a timely manner

    1. purchase iPhone 3gs 2. load OS 3.1.2 on the device 3. launch Safari 4. open 4 web pages of varying sites 5. close one of them... should be instant but instead the user is forced to wait up to 10 seconds check the issue on friend's iPhones, occurs