TreeTable can't change title

I change TreeTableColumn.text but I got a Exception
Exception in thread "JavaFX Application Thread" java.lang.ClassCastException: javafx.scene.control.TreeTableColumn cannot be cast to javafx.scene.control.TableColumn
    at com.sun.javafx.scene.control.skin.TableHeaderRow$10.invalidated(TableHeaderRow.java:277)
so I check TableHeaderRow .
  I find thid method
private final InvalidationListener columnTextListener = new InvalidationListener() {
        @Override public void invalidated(Observable observable) {
            TableColumn<?,?> column = (TableColumn<?,?>) ((StringProperty)observable).getBean();
            CheckMenuItem menuItem = columnMenuItems.get(column);
            if (menuItem != null) {
                menuItem.setText(getText(column.getText(), column));
why don't they use this
TableColumnBase<?,?> column = (TableColumnBase<?,?>) ((StringProperty)observable).getBean();

Looks to me that it was a bug which was fixed for a later Java version than whatever it is that you are using.
See the Java 8u40 source code:
  openjfx/8u40/rt: eb264cdc5828 modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableHeaderRow.java
    private final InvalidationListener columnTextListener = observable -> {
        TableColumnBase<?,?> column = (TableColumnBase<?,?>) ((StringProperty)observable).getBean();
        CheckMenuItem menuItem = columnMenuItems.get(column);
        if (menuItem != null) {
            menuItem.setText(getText(column.getText(), column));
The source refers to TableColumnBase, not TableColumn.
Upgrade to use Java 8u40+...

Similar Messages

  • Can't change title text

    I have searched the board for this issue and have not found anything directly on point. I am also so frustrated because it seems like this should be quite simple.
    I started putting together a movie several months ago. I got into it again today, and I wanted to change up some text and colors, but I can't change text that is on my title page.
    To complicate the matter, when I insert the word "test" in the text editing box, it shows up in the middle of the title screen, but my original text on the screen (left side of a sliding photo) remains the same. It is this text that remains the same that I want to change.
    Ideas?
    thanks

    Hi emory -
    "....part of the problem is there appear to be two places on this title clip where text can show up. One is to the left of the photo box, and another is where text shows up if you choose like "Centered Title"..."
    I am afraid you've lost me, there. What do you mean by 'the photo box'? And in your original post, what do you mean by the 'sliding photo'? Was that a Ken Burns pan effect?
    How did you create the text which is to the left of this photo box?
    In order to test removing the text only, copy the title clip, and do as I described, and see what happens. It should have removed only the unwanted addition to your title clip. Once that has gone, it should be possible to modify the original text (you say you have tried that and it didn't work - does that text appear in the text-editing window? If so, what title option is highlighted? As far as I recall the title called Music Video is the only one that gives you the ability to place text to left or right.)
    If that does not work, then try using Delete again, and see if that removes the original text, but still leaving the clip intact. If it does, start from scratch with your text. Remember, you are working with a COPY, not the original:-)

  • Can I change title bar content in an application window? [SOLVED]

    I know this isn't Arch-specific, but I thought there might be somebody out there who can help me. I use KDE 3.5.7.
    I use Evolution for my work e-mail and Thunderbird for my personal e-mail. I like to keep these spheres entirely separate. The problem is that the title bar for both e-mail clients starts with "Inbox ..." If I have several apps open simultaneously and want to open Evolution or Thunderbird by clicking on the task bar, it takes me a minute to figure out which "Inbox" I need, especially when there are so many apps open that part of the title bar is covered up.
    Is there a way to change the content of an application's title bar?
    Thanks.
    Last edited by dhave (2007-09-19 16:44:51)

    Allan wrote:For Thunderbird
    https://addons.mozilla.org/en-US/thunderbird/addon/757
    Very promising, but I'm afraid this add-on won't work with current versions of Thunderbird. Is there anyone out there who can (1) update this add-on or (2) help me do so? Thanks.
    I'd prefer to go this route than editing the source, since Thunderbird appears to be entangled with all kinds of Mozilla-ish stuff.

  • Can I change title of pdf docs in ibooks in mavericks

    I have looked at my pdf documents on my mac, in Mavericks and cannot find a way to change the titles.  Am I missing how I can do this? 
    Michelle

    Hi ...
    I just copied a PDF file to my iBooks.
    Tried control or right click but nothing from the pop up menu allows for changing the name of the file under any of the menus. All Books / Collections / Authors / Categories or lList.
    Apparently not.

  • Safari 2.0: javascript can't change title of popup "Untitled"

    With a javascript generated popup window, Safari 2.+ titles the window "Untitled" and will not allow the title to be changed with either html "<title>" tag or with javascript "document.title()" property. Safari 1.+, IE 5.0 and Firefox 1.+ all reset the window title properly using javascript. Does anyone know of a simple workaround to fix this bug in Safari 2.+?
    powerbook   Mac OS X (10.4.8)  
    powerbook   Mac OS X (10.4.8)  

    HI and Welcome to Apple Discusions...
    Your ISP is redirecting your browser.
    Try Open DNS - Free / Basic
    Carolyn

  • Suddenly Can't change Title of Photo?

    Hi everyone,
    I am using iphoto 8 and I have always just clicked below a photo and have been able to change/edit the the tile. I JUST did this a few minutes ago and now, for some reason, I am not able to click on the title below the photo to change anything. How is this possible? Did I accidentally lock or change some function?
    I would appreciate any help with this. Thanks.

    Good luck!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Johnny the boy" <[email protected]> wrote
    in message
    news:frbvkp$lb8$[email protected]..
    > figured it out using this post i found thx to Murray
    >
    >
    >
    > This always happens when you do not make your template
    properly.
    >
    > If you create a page, then use FILE | Save, browse to
    the Templates
    > folder,
    > and save the page with a dwt extension, you will get
    exactly what you
    > describe.
    >
    > What you should do is use FILE | Save as Template. In
    that case, DW puts
    > the editable region around the title tag, and in the
    head area, just like
    > it
    > should do.
    >
    > To fix this, create a new blank page. Use the proper
    method to save it as
    > a
    > template. Look at the code around the title tag and make
    your template's
    > title tag look like that by copy/paste. While you are at
    it, copy the
    > editable region in called "head" and paste that into
    your page's head,
    > too.
    >
    > --
    > Murray --- ICQ 71997575
    > Team Macromedia Volunteer for Dreamweaver
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >

  • Change title and category after published

    I published an iBook.Days after I was able to upload modified content with ITunes Connect, but I can not change Title and Category of the iBook. I uploaded the new contents changing the title and category but new text is on line, title and category are always the same. There is a way to do this?

    On Fri, 4 Apr 2008 06:21:15 +0000 (UTC), "mFlexDev"
    <[email protected]> wrote:
    > I have published a fla file in exe format .
    > how can i change the title and image of this exe?
    I beleave the easiest way is to use PEResourceExplorer,
    Resource
    Hacker or similar software to modify EXE resources, such as
    window
    title and window icon.

  • How can I change my DVD title without opening a new project?

    My DVD title comes up as the name of the DVDSP file name of my project, and i want to give the DVD itself a different title. I tried "save as" and saving the project as the title I want, but that did not work. Where can I change this? Thanks!

    In the Outline Tab, select the Disk.
    In the Inspector, type in the Name field.

  • How can I change the year of an album in itunes11 without changing the years of all titles?

    How can I change the year of an album in itunes11 without changing the years of all titles. For example: the reissues of an 1982 album has a 1995 bonus track, but I want it to be sorted as an '82 album? In earlier versions, when itunes sorted my album "by year", it took the year of the first title as the album's year (which makes a lot of sense). In itunes 11, however, the /highest/ year of any title in an album is taken to be the album's year. This upsets my entire catalogue. Can this be changed, will this be changed?

    Highlight all of the songs,File>Get Info, change the genre

  • How/can I change the color of the title or word in a text box?

    Also, can I change the background color too? If so, how? Thanks!

    Select the title / text and then click on the "i" (inspector). A colored pin wheel shows up after you click on the square box directly below the font settings inside the inspector window. Then simply drag the dot to the color you want. Like this:
    click here
    Message was edited by: SDMacuser

  • How can i change the title and image of  published exe

    Hi ,
    I have published a fla file in exe format .
    how can i change the title and image of this exe? do I ve to
    use some of the available softwares in the market? cant i do the
    customised setting in the flash player itself?

    On Fri, 4 Apr 2008 06:21:15 +0000 (UTC), "mFlexDev"
    <[email protected]> wrote:
    > I have published a fla file in exe format .
    > how can i change the title and image of this exe?
    I beleave the easiest way is to use PEResourceExplorer,
    Resource
    Hacker or similar software to modify EXE resources, such as
    window
    title and window icon.

  • Can I change the geographic location in a title?

    I am using the Modern Theme in iMovie 11 for Mac to edit videos taken with an iPhone 5. The theme is automatically displaying the filming location on the title but is showing the filming location as "Great Britain". I can't seem to edit this.
    So, sorry if this is covered elsewhere . . . How can edit the title text or get the correct location shown (I am making an assumption that the iPhone video includes the required GPS data)? Just seeing Great Britain on the title isn't helpful when the majority of my videos are UK based.

    Found the answer.
    I need to select the title, click on "Adjust", click on the "T" and then click on the globe to change the location. Obvious really.

  • Can i change the page titles?

    Can i change the page titles in iWeb easily? for example i want to change the "My Movie" title to My Music and put some music on there i am listening too? when i use the same page twice it just calls it "my movie2"
    i would also like differnt pages such as My Gossip etc.
    Does anyone know if this can be done easily?

    There are two ways to change page names. (1) Double-click on the name in the Site Organizer and type in your change. (2) Select the page, then type the new name in the Page Name box in the Page Inspector.

  • How can I change the running head on the title page only?

    For APA formatting the running head needs to run throughout a paper, but only on the title page is it preceeded by "Running Head:". How can I change the running head on this page only?

    Menu > Insert > Section Break
    Click your cursor in the new (2nd) section.
    Menu > View > Show Inspector
    Inspector > Layout > Section > Page Numbers > uncheck Continue from previous section
    Menu is the menu at the top of your screen when you are in Pages, or anywhere else on the Mac. very hard to miss.
    Yes that is kind of a dumb question.
    Peter

  • Can we change the Internet Explorer browse Title

    can we change not only the header area, but also the IE title?

    Hello Blake,
    changing the title of the browser title is not possible. It will have always the title of the WD applications name itself.
    Regards,
    Ulrich

Maybe you are looking for

  • How to create a servlet to be called by a portlet in weblogic workshop

    Hey, In weblogic workshop 8.1.4, I created a portal application. In the portlet(Java portlet- JSR 168), I would like to call a Java Servlet. In the workshop, it seems there is no way to create a Java Servlet. Does anybody know how to create a Java Se

  • I lost the password to my iMac desktop profile

    2 months ago our imac was stolen from our house and only yesterday it was recovered by the police but in the mean time they restarted the computer and made a profile that we do not know the password to. Is there anyway we can restart the computer wit

  • Can someone help me with this error i keep geting?

    hello, ive been using photoshop for a while and then today i try to open it ad get this error: can anyone help me?

  • Row removal

    I have created a dynamic form. In this form I have a table that duplicates. The first field is a number field that auto generates the number as you add a new row (1,2,3...etc). I have added the jave to recalculate the number field when you delete a r

  • Audio pops on LAN acc

    I have my main, workhorse, PC with a Creative Sound Blaster Audigy 2 card installed. It works fine until there is any access over my LAN to and from this main machine. I can be playing a sound file on this main PC and it's fine, but if I then save a