GUI standard problem...

i have a Jframe containing nested jsplitpane's divided as follows:
| | |
| |____|
| | |
|__|____|
the left JSplit pane consists of the a JTree inside a JScrollPane and the right JPlitPane. The right JSplitPane consists of a JList in a JScrollPane in the top and a JTextPane in a JScrollPane in the bottom. On clicking an element in the JTree the JList alters and on clicking an element in the JList the JTextPane alters. the problem i have that when altering the JTextPane with the following code:
textPane = new JTextPane("SOME TEXT");
bottomRightScrollPane = new JScrollPane(textPane);
the JTextPane does not update. I have gone through the root of re-adding all of the 3 components to the JFrame and then calling setVisible(true) which works, but it makes the GUI blink and i am sure there is a clearer, better, easier way of doing this. I have also tried the random adding of repaint() to every component i could find but again to no avail, Any help would be greatly appreciated as to how i can get the bottom right JScrollPane to show the update JTextPane. Thanks in advance.

thanks again, the setDocument method does work, but unforutnatley i have mouseListeners and hyperlink listeners in the pane that i am overwrtiing the old pane with. Is there anyway to transfer these as well?
I tried using the revalidate method on the JScrollPane the text pane is in, the textpane itself, the splitpane the scroll pane is in and the split pane the splitpane is in. i also tried doing all of these at the same time but this didn't seem to do anything. Thanks again, if there is no easy solution do not worry since i can use the setVisible() method i have been using as it does the job, if in a somewhat ugly fashion.

Similar Messages

  • GUI related problem in solaris 8 02/04

    Hello all,
    I am facing GUI related problem in the software running on solaris when I upgraded from solaris 8 02/02 to 8 02/04.
    The GUI which was working fine on 02/02 was giving some menu selection problem in 02/04. In GUI applications i was unable to select items after double clicking it in solaris 8 02/04 while it was working fine in solaris 8 02/02.
    Are there any O.S. related problem?
    Thanks and regards,
    Ankit

    Wolfgang073 wrote:
    Hi guys and ladys!
    I added the LD_LIBRARY_PATH, Why are you doing that. It's probably a bad idea.
    but the Openwindows not run OK (e.g. start cmdtool window without csh % prompt etc.).That's very possible. Don't make global changes to LD_LIBRARY_PATH (by putting in your login files for example). Instead if you need it to run a particular program, make a wrapper that sets the variable and then calls the program. That will limit the scope of those changes.
    vi .login
    # Erasing LD_LIBRARY_PATH
    setenv LD_LIBRARY_PATH
    # Important Paths set
    setenv LD_LIBRARY_PATH     /usr/ucblib:$LD_LIBRARY_PATHDon't do that.
    Darren

  • Windows 2008 Server Standard - Problems Printing

    I have an issue with a server that we are currently setting up in a bus station.
    There are 6 machines in total, one is the server which is running Windows Server 2008 Standard 32bit SP2, the other 5 are the client machines which are all running Windows 7 Pro 64bit SP1.
    All 6 machines are all linked together on the same domain and they all speak to each other, i.e all ping each other.
    The issue we now have is that we have 5 printers to link to the network, all the prints are plugged directly into the Ethernet sockets on the wall which then go to the switch. The prints all have ips assigned to them and the server will see them but will
    not communicate with them. If we try to ping any of the printers it fails.
    We have loaded print service/print management on the server and we can set up the printers through that. Again we get the error that it is not communicating with the printer so it asks you to load the driver manually(gives us a huge lists of makes and models).
    In the network list through control panel we dont get a list of printers.
    If anyone can help that would be great and could let us know what we are doing wrong.
    If i have missed anything important out please let me know.
    thanks

    Until you determine the underlying network transport problem this has nothing to do with printing.
    Get the network configured so you can ping or use tracert to the IP of the device.  It's possible the printers are not properly configured for your network but once again not a printing issue at this point but a networking issue.
    Alan Morris Windows Printing Team

  • Acrobat X standard problem Verdana-Italic font

    when opening a pdf from a reliable source using acrobat_x  standard a message comes up that it can't find  Verdana-Italic font and doesn't display most of  the document. However if I open the same pdf with Adobe reader XI it has no problem. any suggestions out there?

    Quit acrobat
    Try throwing away Tha Adobe Fon cache.
    Open Acrobat
    Let it rebuild the font cache
    Then try opening File.

  • External LCD flicker (timing standard problem?)

    My external LCD panel flickers when connected via DVI. It basically looks like a CRT refreshing. If I connect it with VGA, it doesn't flicker. It doesn't flicker when connected to a different machine. And it doesn't flicker if I boot the machine into Windows.
    I've tried setting different refreshes on it with SwitchResX to no avail. Again, it works perfect in Windows, but my built-in LCD has whine in Windows when not at full brightness. So, in handy chart form:
    OS X
    Built-In: Perfect
    External: Flicker
    Windows
    Built-In: High pitched whine when not at full brightness
    External: Perfect
    The only conclusion I can draw from this is that it is related to the use of different timing standards or something of the like. Clearly all the hardware is fine.
    So, does anyone have any idea how to go about changing the timing standard used in OS X?

    I'm experiencing almost the same problem as you: When I connect an external LCD projector to my Macbook Pro via DVI/VGA adaptor, I notice a flickering of the LCD projektor. The intensity of the flickering seems to depend on the frequency I adjust in the monitor control panel. Unfortunately there's no frequency that fits the needs of the LCD projector.
    Any idea to solve this problem is most welcome!

  • JDeveloper 10g (10.1.3.3.0) GUI Buldier problems

    Hi there,
    I am running JDeveloper on several platforms (Windows XP Pro SP 2, Ubuntu Linux, Mac OS 10 Leopard), but all of them manifest this problem.
    I am designing a Swing Application.
    When I load the source code for a given class I click the Design tab to bring up the graphical representation of my component (in this case, a JPanel).
    In some cases this works fine. The component comes up in the main window, and I can graphically edit it.
    In other cases, it comes up with a blank screen which says: "No GUI Selected. Double click on an item in the Structure Window to see its GUI here.". I double click the item as instructed, but nothing changes in the main window.
    Can someone tell me exactly what JDeveloper is doing behind the scenes to facilitate this graphical GUI builder?
    Does it just instantiate the object using the default constructor?
    Does it save the layout somewhere?
    Does it parse the layout from the java file?
    Does it compile a separate version to render, or does it use the generated .class files?
    This is really frustrating. I had a lucky spell where 10 out of 10 JPanels I was designing would render correctly, but now some of them have this problem.
    What changes am I making to my source code to break the graphical visual editor?
    Thanks,
    Allen

    I have the same problem and I noticed some things in previous approaches, because the problem occured more than once.
    Last year I noticed that the problem occured, because I changed to JDK 1.6 (project java version, not the one running JDeveloper itself). The solution was that I had to clean all .class files (with an ant-Task) and all worked fine, but Inner Class-GUI-Objects. These are ASFAIK not supported.
    Now more than 6 months later I noticed that somehow old source code is working and displaying fine, but whenever I make an update to a newer revision the visual editor behavious like you said. (I am using subversion).
    This thing is strange, but anyway I managed to find out, that JDeveloper uses the method jbInit() to initialize the GUI and that other methods like doSomeMoreInit() will not be executed. So one approach was also do create postJbInit() methods, but somehow I am stuck now.
    Maybe this can help you with your problem, but I have to research a little bit.

  • AppleScript GUI scripting problem.

    Hi All,
    I've created a script that will automatically open new document in Indesign CS2. But when i run the script i'm getting system events error as "NSReceiverEvaluationScriptError: 4". I tried following the instruction given in forums but still couldn't figure out. Below is the script i wrote. Can any one tell where and what i'm missing.
    tell application "Adobe InDesign CS2" to activate
    tell application "System Events"
    tell process "Adobe InDesign CS2"
    tell menu bar 1
    tell menu bar item "File"
    tell menu "File"
    tell menu item "New"
    tell menu "New"
    click menu item "Document"
    end tell
    end tell
    end tell
    end tell
    end tell
    click button "Ok" of window 1
    end tell
    end tell
    This is the submenu of menu New. This might be the problem cos the below script works for for which i'm clicking the menu not sub menu
    tell application "Adobe InDesign CS2" to activate
    tell application "System Events"
    tell application process "Adobe InDesign CS2"
    tell menu bar 1
    tell menu bar item "Help"
    tell menu "Help"
    click menu item "Welcome Screen..."
    end tell
    end tell
    end tell
    end tell
    end tell
    My Mac version 10.4.10
    Any help would be appreciated.
    -Jacintha

    Using GUI scripting is the road to madness; it's for emergency use only.<br />Try:<br /><br />tell application "Adobe InDesign CS2"<br />make document<br />end tell<br /><br />-- <br />Shane Stanley <[email protected]>

  • Workflow Aproval - Non standard (Problem in the Worklist - bbpbwsp)

    Helo,
    I have build one approval workflow to the process bid invatation. In this workflow i have one task (non-standard) where the user can approve de process.
    The client use de ITS SRM, the worklist used is the BBPBWSP.
    When the Workflow start, the approval task appears in the worklist, but when i execute this task, it is open initial menu SAP. Not using our service Z.... instead /scripts/BBPAPPROVAL/...
    Can anyone help me?

    Hi
    <u>I know the ITS Debugging makes quite a life easy for some of the cases, like this.</u>
    <i>By the way, which SRM version are you using ?</i>
    <u>Anyways, will give you details, how to enable the ITS debugger in your system. Ask your BASIS person to help you out in this case.</u>
    <b>Note 451292 - How to use ITS debugger
    Note 304371 - RFC debugging set in service file BBPUSERMAINT
    Note 392570  - EBP: Required data on the problem processing
    Note 893425 - MIME type with attachments
    Note 954135  - Instructions for debugging workflow activities
    Note 903200 - Workflow tracing for problem detection
    Note 995328 - Extended System Status Information for SAP SRM</b>
    Hope this will help.
    Please reward suitable points, incase it suits your requirement.
    Regards
    - Atul

  • ACE Web GUI Interesting Problem

    I have a very strange issue with the ACE web GUI interface. I have 2 ACE's that are in Active/Standby setup with a floating management IP address for each context. Now when I try to login to the Web interface with the Floating Mgmt. IP address for one of my contexts it always takes me to the Admin context and not the one I am trying to hit. I did some testing and I found it does this with every context when you try to login to the Web interface using the floating IP address. If I use one of the real IP's of an individual ACE I am able to get logged into the correct context. Has anybody else run into this? Is there something I can do to fix it? Also I noticed that when you login to the web interface using that same floating IP address it always passes RADIUS requests as the Admin context IP address as well.

    I don't see this problem with version A3(2.x)
    This was fixed with CSCso98451
    G.

  • Widescreen/Standard Problems

    Hello -
    I have created a movie that I exported into iDVD. It needs to show perfectly and in whole as a standard movie, but the sides are being cut out. I'm using an old iDVD theme that is not widescreen, exporting as a Quicktime movie (not conversion). Essentially, I do NOT want widescreen at all.
    I've experimented with different Easy Setups and have spent hours trying to solve this problem with no success. Can you please help?

    I've never had this problem with movies I've created before. Now I have words and borders cut out. I am previewing on a regular TV and it's messed up. Maybe I should just be sure to put text near the center of the screen and delete the borders altogether? That can't be right.....

  • Studio Management GUI Rendering Problem - Windows 8.1

    I've got a problem that I can't seem to find the solution to anywhere.  I recently purchased a new computer with Windows 8.1 and am having trouble with SQL Express 2012.  The GUI rendering within the Server Management Studio seems to be really
    messed up.  Any help would be much appreciated.  I've updated everything I can think of (Windows, SQL Express, video drivers, etc) to no avail.  
    Biggest problem initially is that when I go through the "Restore Database" process windows are not showing correctly.  Such as the dialog box where I go find my database backup file - there are no files listed - it is just a blank dialog box.
    Any help or ideas would be greatly appreciated.  Thanks in advance.
    (I would post some screenshots but I'm waiting for my account to be verified)

    Hi JaredBaszler,
    According to your description, when you install SQL Server 2012 Express on Windows 8, the SQL Server Management studio dialogs could not displayed clearly. We need to verify if there is the third party software or antivirus software in your Server.
     In addition, if your Windows Server works in high-DPI displays. There is detail about
    living a High-DPI desktop
    As you post, we recommend you install SQL Server 2012 on a clean machine, and check if the same error exists, if yes, the installation media 
    may be encountered some changes. And you can download the media again in Microsoft websites and reinstall again. If it display 
    normally in your new machine, reinstall again on your original computer.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Cisco 881W - ap gui interface problem

    We have a new Cisco 881W wireless router;
    used the CP Express gui interface to perform initial setup;
    router assigned 10.10.10.3 as wireless ap gui interface;
    when entering ap gui the entire screen is blank expect for an "enter" button near bottom;
    clicking on this button does nothing; "error on page" is indicated on IE8 status;
    assigned SSID is not broadcasting

    Hi !!
    im the same problem , but i fix it
    first you must change the IOS version to ap801-k9w7-tar.124-10b.JDA3 ( you can dowload for the cisco web )
    after download the image file you putt this command in the ap exec mode:
    ap#archive download-sw /overwrite /force-reload tftp://x.x.x.x/ap801-k9w7-tar.124-10b.JDA3.tar
    after the files are copied to flash memmory , the routyer boots with the new image ang bug fixed
    its is my configuration working: 
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Current configuration : 3267 bytes
    version 12.4
    no service pad
    service timestamps debug datetime msec
    service timestamps log datetime msec
    service password-encryption
    hostname ap
    enable secret 5 $1$T0Qk$/wKGmrwqo0WcBbvTapaNb.
    no aaa new-model
    dot11 ssid CASIO
       vlan 1
       authentication open
       authentication key-management wpa
       guest-mode
       wpa-psk ascii 7 121A04041B04010132222727
    crypto pki trustpoint TP-self-signed-4051168682
    enrollment selfsigned
    subject-name cn=IOS-Self-Signed-Certificate-4051168682
    revocation-check none
    rsakeypair TP-self-signed-4051168682
    crypto pki certificate chain TP-self-signed-4051168682
    certificate self-signed 01
      3082023A 308201A3 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
      31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
      69666963 6174652D 34303531 31363836 3832301E 170D3131 30383139 31303037
      33385A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
      4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D34 30353131
      36383638 3230819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
      8100B090 26BE5E77 FCB338C0 F54949DB 43EF95C1 61A9C3FA 38AC8BDC 18931195
      B1B1A503 65A71B68 8940639A FB6A6D9B 0F327B09 F5C48ECD 89C1B279 9DC6DC98
      11E5D014 914200BB 7F29CFD1 1CC5FDF0 F3AFE547 4954E2CA 37FC1CEC 60641871
      D9949391 35C958B3 FBA6FBF7 116612FD DFAB9467 478A6E07 0F7B2616 F1204158
      EC510203 010001A3 62306030 0F060355 1D130101 FF040530 030101FF 300D0603
      551D1104 06300482 02617030 1F060355 1D230418 30168014 1120DB6C BE01CDEE
      64A2DB14 FA240B27 D3573B9B 301D0603 551D0E04 16041411 20DB6CBE 01CDEE64
      A2DB14FA 240B27D3 573B9B30 0D06092A 864886F7 0D010104 05000381 81003B69
      8FC11090 E61D3BC1 D04FBDC5 622E8BC6 EB63B9FA C795BB15 BB05F417 CFC51F09
      A8A1971E 7E523203 5A40654D B71623CB A48B193A 101FD1AD 868128E9 91940B71
      5CFDDDD4 856B8170 7700C656 A75443DF DBB60F06 67E37A70 69175B84 24AB0380
      221AAA1D 3EB80465 FD1C1F49 B75B0F1D BC4A82B2 EB2176F2 27F54894 5E94
      quit
    username Cisco password 7 106D000A0618
    username ivan privilege 15 secret 5 $1$eEHQ$Dc.dDfXJz2fBbPIGhH.zg1
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption vlan 1 mode ciphers tkip
    ssid CASIO
    speed  basic-11.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0
    station-role root
    interface Dot11Radio0.1
    encapsulation dot1Q 1 native
    no ip route-cache
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface GigabitEthernet0
    description  the embedded AP GigabitEthernet 0 is an internal interface connecting AP with the host router
    no ip address
    no ip route-cache
    interface GigabitEthernet0.1
    encapsulation dot1Q 1 native
    no ip route-cache
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    interface BVI1
    ip address 192.168.10.5 255.255.255.0
    no ip route-cache
    ip http server
    ip http authentication local
    ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    bridge 1 route ip
    line con 0
    no activation-character
    line vty 0 4
    login local
    end
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    now you cant acces to ap web gui 
    thanks !!!

  • GUI Multithreading problems

    I'm making a chat client and I'm having problems with the threading around the GUI. It works when I don't use the GUI (and ActionListeners aren't at fault). I basically have two threads, a send thread and a receive thread, which are both subclasses that extend Thread. When I start them through the GUI, on an ActionListener, they don't work... but when I start them in a program that is GUI-less, they do work. Just for clarification, it's not the ActionListeners at fault, I tried doing a System.out on the same ActionListener and it worked.
    A peculiarity is that when I make a new instance of the same frame [another frame.setVisible(true)] in my Receive thread, it starts receiving on the new window. I get the messages from the server, but I can't send stuff. I used to view this as a half-success, but now I think I'm going about it all wrong.
    So, here's my questions:
    1.Do I need to make more threads? I thought that everything outside the Receive and Send threads were naturally in a thread themselves, but it seems that they are not. Should I put the TextArea in my GUI that receives messages in a different Thread?
    2.Or is the problem that I have to somehow refresh the frame without causing it to make new frames?

    It's hard to tell what's going on without seeing your code. What do you mean when you say "When I start them through the GUI, on an ActionListener, they don't work"? Does that mean the threads don't start, or you don't see anything happening in GUI, or everything freezes, or... etc, etc.? Please post code or describe the sequence of events in detail so we can help.
    As a guess, it sounds like you're starting your threads when you press send, which doesn't sound right. In a chat, both threads should be running from the beginning, and when you have stuff to send you put it in a queue, then let the send thread pick it up. The receive thread just receives and puts messagese in the GUI. - see http://java.sun.com/products/jfc/tsc/articles/threads/threads1.html

  • Upgrade to CS6 Design Standard problems

    I bought CS5 Design Standard on March 30, 2012 so I applied for the free upgrade to CS under the "Claim your complimentary CS6 Upgrade" program (http://helpx.adobe.com/x-productkb/policy-pricing/upgrade-policy-produ ct-announcement1.html).  I got an e-mail saying I was approved.  Under "My Adobe", it showed a receipt for the free upgrade with an order #.  There is a link on the receipt page to download the upgrade but when I click on the link it said I have no download.  I contacted cutomer service a couple of times (phone and chat) and finally I got an e-mail with a serial number for CS6 Design Standard and it said to click on the download link on the receipt.  But now the receipt that was there is gone and I can't download anything.  I contacted customer service again (chat) and they said it should be up in 24 hours.  It's been a week now and I contacted them again (response to open support ticket) and no answer now.  I thought I would download the free trial and use the serial number I got but I can only find a download for CS6 Design Premium, not Standard.  SO, where can I get a download for CS6 Design Standard or an upgrade to the same from CS5??  I have a serial number from Adobe but no place the download the program.
    I went ahead and registered the CS6 serial number I got from the [email protected] e-mail and now it shows up as a registered product.  It shows: 
    ADOBE DESIGN STANDARD     6    Win    June 30, 2012
    with the serial number underneath. 
    I looked around to see if a download link would show up now, but I still can't find anything.  Any ideas?
    (I originally posted this under the trial downloads section but moved it to here since it seems more appropriate).

    Thank you for the help.  I finally got it all installed.  It only took 3 weeks to get this done.  You have been very helpful, but Adobe has been extremely unhelpful.  I'm not sure if you work for Adobe, but if you do let management know their customer support is lacking in many ways.  Sorry for the editorial.

  • Acrobat 8 standard problem

    have been
    trying to convert some word docs to pdf t
    he program starts to convert the gives error message that con
    vertion has failed correct the error and try again (have
    no idea what the error is) i have successfully used this pr
    ogram before so what is wrong i do not have an idea can anyone help please

    Step one in diagnostics is to print to the Adobe PDF printer. If that does not work, then try printing to file and opening the file in Distiller. This second step gets around AcroTray that must be working for the first step. Also, if the problem is in Distiller you should see the errors in Distiller.
    If the above steps work, then try to use the create PDF menu selection (PDF Maker), available in most MS OFFICE products with Acrobat. If there is no icon, that is likely your problem. If these options do not lead you to a solution, the come back and be specific about how you tried to create the PDF. There are many ways and your message gave no information. We need the details, or we are just guessing. Also, what OS?

Maybe you are looking for

  • The Ipod cannot be ejected because it contains files that are in use by ano

    When I want to eject my Ipod i get this message: The Ipod cannot be ejected because it contains files that are in use by another application. After I had put some songs on the ipod, i got that message. I thought maybe the new songs were the problem b

  • IE Browser not able to display a PDF file within the Browser window ...

    Hello acrobat experts! I'm now writing a plugin for the acrobat. According to my customer requirements, the pdf file is expected to be displayed within the MS IE browser widows. It worked within adobe Reader and Acrobat 7.0.x. Now I wanted to test my

  • AntiXSS removed from GAC?

    I have code that MSOCAF required us to use the AntiXSS library. It was added and the package was updated to deploy the AntiXSS.dll to the GAC. Once the DLL is in the GAC, I remove the original reference and update the reference to the AntiXSS to the

  • Update Evernote in Mac App store will not install

    1 update available, but it has already the status "Installed". I removed the entire Evernote app and tried to dowwload a full new version from the store in order to wipe this update. This did not work, I also downloaded a full version direct from Eve

  • USB2 and video in

    hello, I made an upgrade for a G4 Quicksilver with a USB2 PCI card. the name of the card is USB2EHCI. I didn't find anything about this card on internet, in fact I bought it years ago for a Supermac, really never used it as a USB2 hub. now on the Qui