A very difficult problem of JTreeTable

I am now creating a xml editor by the use of swing. I have drafted an interface and uploaded to this http://fungho.uhome.net/temp/SAMPLE.jpg
This interface has the tree with the following xml schema:
<book version="2" language="English">
<content number="1">How are you?</content>
</book>
In my application, there are 2 enpandedIcons for each element, the first one is for the expansion and contraction of the tree structure, while the second one is for the expansion and the contraction of the attributes of the element. For the words between <content> and </content>, "How are you?" in this example, are displayed in the white area benenth the 'content' area. At the same time, there are 2 columns which are not used in the interface, this columns are used for other purpose.
In view of this, I know JTreeTable is used. However, I don't know how to add one more tree in each node. Moreover, the background color seems to be very difficult to implement... Hope you can have some suggestions! Thanks!
Stephen

Vampire,
Welcome to Apple discussions.
It sounds like you either have a conflict with a keystroke expander or with Pages built-in auto-correction feature. To test this, try shutting off the auto-correction by clicking on Pages > Preferences > Auto-Correction > then UNcheck Symbol & Text Substitution. Let us know if that works.
-Dennis

Similar Messages

  • Very difficult problem

    Hi.
    I have iphone 5s with IOS 7.0.4.
    When I turn on my device, the screen turn on (I can see light from the screen), but- the screen stay black.
    I sure that this problem is software problem.
    When I connect the iphone to my computer, the iTunes say that my iphone is in Recovery Mode,
    but I don't see the iTunes+Lighting cable logo on the iphone screen.
    I try to do restore, but can't- error 40.
    please help me!

    http://support.apple.com/kb/ts3694
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    It's most likely a hardware failure. You will probably have to make an appointment at the genius bar and get the phone replaced.

  • My problem is the graphs of my audio recordings in the arrange window are so small it makes accurate editing very difficult.

    My problem is the graphs of my audio recordings in the arrange window are so small it makes accurate editing very difficult.

    Try the waveform zoom slider. Recording louder just to get a better visible waveform would be, well, silly.
    From the manual: (click on links to see pics)
    To change the zoom level using the Waveform Zoom button 
    Click-hold the Waveform Zoom button. A slider appears.
    http://documentation.apple.com/en/logicpro/usermanual/Art/S01/S0185_WaveZoom.png
    Drag the slider. As you do, the waveform shown in all audio regions, and in the Beat Mapping track, is increased or decreased in size.
    http://documentation.apple.com/en/logicpro/usermanual/Art/S09/S0931_CUS_Waveform Zoom2.png 
    Note: This is a purely visual function. The amplitude (level) of the waveform is not affected.
    it's here (scroll 3/4 down):
    http://documentation.apple.com/en/logicpro/usermanual/index.html#chapter=4%26sec tion=6%26tasks=true

  • When I phone people can hear me without any problem, but I hear very very bad. The sounds is metallic and it is very difficult to understand. Have anyone idea of what is it about. I guess is not a software problem but I am not an expert. Thanks in advance

    When I phone people can hear me without any problem, but I hear very very bad. The sounds is metallic and it is very difficult to understand. Have anyone idea of what is it about. I guess is not a software problem but I am not an expert. Thanks in advance

    Make sure that you allow pages to choose their colors and that you haven't enabled High Contrast in the Accessibility settings.
    *Firefox > Preferences > Content : Fonts & Colors > Colors : [X] "Allow pages to choose their own colors, instead of my selections above"
    See also:
    *http://kb.mozillazine.org/Images_or_animations_do_not_load
    *https://support.mozilla.org/kb/Images+or+animations+do+not+show

  • Since upgrading to iphoto 11 I,m having difficulty viewing my photos in edit mode. On the quick scan of info mode the photos appear sharp, however in edit mode the edges blur up making it very difficult to edit properly, What is the problem here?  I never

    Since upgrading to iphoto 11 I,m having difficulty viewing my photos in edit mode. On the quick scan of info mode the photos appear sharp, however in edit mode the edges blur up making it very difficult to edit properly, What is the problem here?  I never

    Marisa, you stand a better chance of getting an answer concerning iPhoto by posting this question in the iPhoto forum
    https://discussions.apple.com/community/ilife/iphoto

  • I just bought an ipod touch 4th generation recently,found that it is very difficult to plug and unplug the USB cable from my ipod.Does anyone have this problem?

    I just bought an ipod touch 4th generation recently, found that it is very difficult to plug and unplug the USB cable from my ipod. Does anyone have this problem?

    Some of the Dock connector cables have very small buttons on the rounded adge of the plug, which need to be pushed in to release the plug from the iPod. Look at the picture below, do you notice the "button" on the white connector edge? There's one on the other edge too and they both need to be pressed in to release the "evil looking spike" sticking out of the grey edge.
    The shorter plugs (that I've seen) do not have the release mechanism, the plug simply pulls out.

  • It seems that there is an inaccuracy in flash games.  It is very difficult to hit the button especially if the button is small. How can I fix that problem ?

    It seems that there is an inaccuracy in flash games.
    it is very difficult to hit the button especially if the button is small.
    E.g. in Battle Pirate, it is difficult to switch screenview( zoom out - zoom in )
    Seen in many games, so I assume it has something to do with the flash player.
    Been looking in settings, but can't find  anything concerning mouse settings.
    How can I fix that problem ?

    You will just have to use other apps for Arabic.  You can ask Apple to fix this via
    http://www.apple.com/feedback/
    I think Apple's iBookstore does not yet really support Arabic books.

  • HT204406 I am having a very difficult time with accessing my music from the cloud.  I need to have itunes open on my laptop in order for it to work.  And as soon as I close out itunes on my laptop, it gives me a warning that all users will be logged out. 

    I am having a very difficult time with accessing my music from the cloud.  I need to have itunes open on my laptop in order for it to work.  And as soon as I close out itunes on my laptop, it gives me a warning that all users will be logged out.  Help!!!

    Where are iTunes files located?
    No, I do not mean just the music.  Copying just the media/music files or the media folder creates problems.

  • Very Simple Problem-- Need help in method selection process

    Hello,
    It's difficult to explain the background of the program I am making-- but I am stuck at a very simple problem, that I can only solve with a very long block of if statements:
    I have 3 possible numbers-- 1, 2, or 3.
    Imagine two numbers are already taken-- say 1 and 2. I want a variable to set itself to the number that's not taken (3).
    So, again: If two numbers were taken say 2 or 3-- I want the variable to be sent to the other one that isn't taken-- 1.
    Thank you for your help,
    Evan.

    Actually, I'll just tell you the context of the program-- here is what I have so far:
    This program is meant to simulate Monty Hall Problem:
    http://en.wikipedia.org/wiki/Monty_Hall_problem
    The program sets up an array of three possible values. Each one of those values represents a door with either a goat or a car behind it. It then randomly sets one of those values to 1 (in order to represent a car as per the Monty Hall problem), and 0's represent goats.
    The user, which is simulated by the program (does not involve actual interaction), chooses a door initially.
    The game show hosts then reveals a door that is not the users initial choice, but IS a goat ( an array value of 0).
    For example if the array was [0][0][1]
    The user could pick door one (array position 0). Which is a goat.
    The game show host then reveals a goat that is not the users choice-- which would be array position 1.
    After the game show host reveals the goat-- I want the user to always switch his decision to the only other remaining door that was not his first choice.
    Then I wanted the computer to test to see if his final choice is the one with a car. And to tally up the amount of times he got it right.
    --Sorry that was long winded:
    import TerminalIO.*;//imports TerminalIO package for system.out.println
    import java.util.*;//import java.util for random
    public class Monty_Problem
         int doors[]= {0,0,0};
         Random rand= new Random();
         double wins,totals=0;
         public void carAssignment()
              int car_door= rand.nextInt(3);
              doors[car_door]=1;
         public int judgesChoice(int judgeDoor, int initialChoice)
              if(judgeDoor != initialChoice && doors[judgeDoor]!=1)
                   return judgeDoor;
              else
                   return judgesChoice(rand.nextInt(3), initialChoice); //infinite loop right here that I cannot remedy.  I want the program to have the judge pick a location that is not occupied by a  '1' and is not the user's choice. 
         public void gamePlaySwitches()
              int initialChoice= rand.nextInt(3);
              int judgeDoor = 0;
              int secondChoice= 0;
              judgeDoor= judgesChoice(rand.nextInt(3), initialChoice);
              //This part is meant to have the user switch choices from his initial choice
                   // to the only other choice that hasn't been revealed by the judge. 
              while(secondChoice == initialChoice || secondChoice== judgeDoor)
                   secondChoice++;
              if(doors[secondChoice]==1)
                   wins++;
                   totals++;
              else
                   totals++;          
         public static void main(String [] args)//creates the main menu
              Monty_Problem a= new Monty_Problem();
              int games=0;
              while(games!=100)
                        a.carAssignment();
                        a.gamePlaySwitches();
                        games++;
              System.out.println(a.wins/a.totals);
    }Edited by: EvanD on Jan 11, 2008 4:17 PM

  • I have Lion and iCloud.  There are two very annoying problems.  mFirst, in the middle of writing or research the window gets yanked to the right.  Sometimes it can be retrieved and sometimes it can't.  sec on, in the course of research on Safari, or work

    I have recently upgraded to Lion and iCloud.  There are two very annoying quirks that i don't know how to fix:
    1-When working with word, documents or emails in the middle of a sequence the picture or window suddenly is yanked off the screen to the right.  More often than not it can't be retrieved.  This happens often
    2-In the same mode as in #1 above the print size will suddenly increase maybe by a factor of 3x or 4x.  it happens spontaneously.
    3-There are many other problems with the upgrade:
         -With sequence emails the secondary emails are not printed.  When one tries to open those emails it often fails.
         -The new address book format is crap.  it is very difficult to go from single listings to group listings and back.
    It's obviousto me the Apple software designers are not users.
    So how can i fix #1 & 2 above.

    > When working with word, documents or emails in the middle of a sequence
    > the picture or window suddenly is yanked off the screen to the right.
    Microsoft Word?  What version and service pack?
    Microsoft Office 2011 SP2 includes Word version 14.2.2.  Some Office 2011 updates addressed problems with Lion.

  • When I select a menu item, the highlight is light blue and the item font color goes white. It is very difficult to read? Any solution?

    When I select Bookmarks, the menu item (Bookmarks) is highlighted in light gray color; and the letters of the work itself (Bookmarks) turns white. This same thing happens when you go into individual bookmark selections. It is very difficult to read. Are there any alternatives that can be set by the user?

    Are you using a standard Windows theme?
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Very difficult question.........

    This is a question that has not been able to be solved yet by about a dozen professionals I have ran into over the weeks trying to figure it out.
    I have a logo that is over a white background that is letter boxed.
    I am trying to fill the top & bottom black areas with white color to make the whole background white.
    I have tried numerous amounts of composite combinations and all provide great results, but there is a major issue during transitions.
    **During a transition, you can slightly and quickly (depending on the lengthy of transition) see lines from the letterbox. This is very difficult for me to explain but you can slightly see an outline of the top edge and the bottom edge of the box where the letter boxing begins. But once the transition is over, both whites mix together and you have a whole solid color.
    Does anyone know what the heck I'm talking about?

    I'm not sure of the best way to describe it but what you're describing makes perfect sense. The two sources that you have layered are not identical, so as you dissolve and the layers become less opaque you start to see the differences.
    Two easy fixes and Brian already gave you one.
    The other thing you can do is export the composite you have created and then reimport the new file. Once it has been combined in his way you won't have that problem.
    PS... I'd be suspect of those "Pro" qualifications if they couldn't figure that one out.
    EDITED
    Whoops. Sorry, I see that Tall already made my suggestion #2... Sorry Stretch.
    rh
    Message was edited by: Randy Holder

  • Screen icons become very large and wont reset. restarting is very difficult as slider is off screen. eventually shutting down and restaring gets screen back to normal .however this is happening more often

    my iphone 4s icons suddenly magnify on screen. 2 or 3 fill the screen. shutting down and restating fixes the problem as icons are back to normal size. however shutting down is very difficult as red slider is off screen and this is happenong more often. any cures?

    Take a look at this link, http://support.apple.com/kb/ts3129

  • Music on my iPhone has become very difficult to edit since upgrading to 5.0.1.  If I simply want to delete some songs, it insists on a complete sync cycle after EACH one I delete.  This is so annoying- (I have over 400 Christmas songs I won't need until n

    Music on my iPhone has become very difficult to edit since upgrading to 5.0.1.  If I simply want to delete some songs, it insists on a complete sync cycle after EACH one I delete.  This is so annoying… (I have over 400 Christmas songs I won't need until next year) I have also noticed it randomly keeps updating album artwork…adding more time to each sync.  Is there some way I can turn off the syncing until I have picked and deleted all the songs I want?

    The cause was probably a USB glitch during a sync or when copying. The music resides on the phone in separate files. A master file contains a database with an index to the music, an entry for each track and a "pointer" to the file containing the track. Somehow the index got corrupted with duplicate entries. It's likely that the music itself wasn't duplicated, but some tracks had more than one entry in the database. I've seen this happen when syncing (rather than manually managing) also. In my case deleting the track from the Music tab in iTunes, syncing, then adding it back fixed it.
    A related problem I've seen is an album may be split, with some tracks in each of 2 or more album entries in the listing. Fixed the same way.

  • Resubmission of Tasks and Appointments - really difficult problem!

    Hi, I have another difficult problem to solve! It would be great if someone could help me or give me some hints! Thanks!!
    I hope I express myself understandable (because it is really a hard nut )
    Assumed case:
    A manager (A) creates and assigns in crm webclient a taks (or appointment) to another employee (B) (for example: 10 days forward). If employee B enters the webclient the task will be shown. 
    employee B has already many tasks on his overview page and therefore wants to change that this specific task will be shown again to a later time (resubmission of tasks).
    Question:
    Is there such a functionality for the CRM webclient?  I read that it was possible in SAP GUI.
    Do I need to develop a solution with BSP WD Component Workbench? Or just change the date profil in SPRO?
    I would be very grateful and thankful if anyone could give me some hints! But I am just working with SAP for a short time, so please keep it not too complicated (if it is possible) ;-).
    Thank you!
    Marcel

    Hi, the topic is called "Resubmit of tasks".... Does anyone has ideas? would be nice
    Resubmit of tasks in CRM webclient, how to do?

Maybe you are looking for

  • GR for order against a sale order, in MMBE

    Dear all Hi, I have made GR for order against a sale order, in MMBE X qty of stock is displayed as sale order stock, but when i check it for its reservation the system is not displaying the reference of sale order & also in MMBE screen it is sdisplay

  • BAPI_SALESORDER_CREATEFROMDAT2 for Substitute Materials

    Hi Gurus, I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating Sales Order using the data upload from a excel sheet. I am facing some error "No item category available (Table T184 ZOR NORM  XXXX") (XXXX is the item category for Substituted material

  • Slow Query Performance

    Hi BI expert, I have got a query and it's written basing on sales order line cube. This cube holds about 60,000 records at the moment. A selection secreen has also been designed for this for example; creation date, brand and sku. If the users specify

  • Tap clicking touchpad causes mouse pointer to move (ALPS)

    Usually when tap clicking on a touchpad, any pointer movements are suppressed as a tap is detected. This does not happen on my Arch machine. Whenever I tap click, the mouse pointer jumps several pixels in some direction. How can I stop this? (Arch is

  • Attribute selection returns to many characteristic values

    Have you heard of this error when running a copy function?