Tile problem: Working on 1.3 and not on 1.3.1

Ok, I've already sent this as a bug in JavaFX Jira but it's not public yet, so I'm going to post it here in case someone can understand what is really happening. The problem timeline is the following:
- I have a tile with 3 rectangles that had a roll over effect (they scale their size)
- After 1 second I remove all of the rectangles, so the tile has 0 elements and the rectangles are not shown.
- One second later a put again 3 rectangles in the tile and at this point we have to different behaviours:
- In 1.3 the three rectangles apear without problems
- In 1.3.1 none of them is shown, but strangely if I put the mouse over their "virtual" position the rollover is done and all of them
magically appear (not only the one I was over)
package test;
import javafx.scene.CustomNode;
import javafx.scene.Node;
import javafx.scene.paint.Color;
import javafx.scene.layout.Tile;
import javafx.animation.Timeline;
import javafx.animation.KeyFrame;
import javafx.scene.shape.Rectangle;
import javafx.scene.input.MouseEvent;
import javafx.stage.Stage;
import javafx.scene.Scene;
public class SimpleBidButtons extends CustomNode {
    public var numButtons: Integer;
    init {
        this.children = [ Tile {
                    id: "firstMenuBar{id}";
                    rows: 1;
                    content: bind for(i in [0..numButtons-1])
                        def but:Rectangle = Rectangle {
                        width: 90; height: 90;
                        onMouseEntered: function(e: MouseEvent) {
                            but.scaleX = 1.1;
                            but.scaleY = 1.1;
                        onMouseExited: function(e: MouseEvent) {
                            but.scaleX = 1.0;
                            but.scaleY = 1.0;
                        fill: Color.BLACK
                        but;
                    height: 100;
                    width: 300;
function run() {
    var buttons: Integer = 3;
    var menu = SimpleBidButtons {
                numButtons: bind buttons;
            Stage {
     title: "MyApp"
     onClose: function () {  }
     scene: Scene {
          width: 320
          height: 120
          content: menu;
    Timeline {
        keyFrames: [
            KeyFrame {
                time: 1s;
                action: function() {
                    buttons = 0;
            } KeyFrame {
                time: 2s
                action: function() {
                    println("Push");
                    buttons = 3;
    }.play();
}Edited by: AnderRuiz on Aug 23, 2010 1:14 AM

There is no need to override create function anymore in 1.3 and in fact the children variable was created to avoid memory consumption because many CustomNodes create a Group in 1.2. Anyway I changed my code to override create() and as I supposed the result was the same. This code was working also with JavaFX 1.2 without any problems (overriding create() of course)
Edited by: AnderRuiz on Aug 23, 2010 3:59 AM

Similar Messages

  • Fix for Airport Wireless Connection Problem stating Self-Assigned IP and not wanting to connect in Lion OSX.

    Fix for Airport Wireless Connection Problem stating Self-Assigned IP and not wanting to connect in Lion OSX.
    Bought my girlfriend the newest Macbook Pro 13" and began experiencing problems with my wifi the moment we got home. Her Macbook would not connect to our home Wi-Fi while my old Macbook Late 2008 running Snow Leopard connected without a problem. Airport would say that it had a Self-Assigned IP address (168.x.x.x). Did not realize it was a Lion problem until after using her Macbook Pro and becoming jealous of the new OSX, I upgraded. Soon after I was unable to go online. Luckily I had my iPad 2 and I began to scoure the net for help. Ran into allot of suggestions but it was not until I tried the following all together was I able to share the good new, from my Macbook. Hope this works:
    First go to Preferences > Network and click on the cog next to the + and - on the sidebar and click Set Service Order
         - Move Wi-Fi to the top and click ok.
         - Set location to Automatic
         - Click Apply
         - Click Advanced
         - Click the "-" on the selected Wi-Fi router you wish to connect to
         - Click Apply
         - Click Lock to Prevent Further Changes
    Go to your Mac's harddrive, (Macintosh)
         - Go to Library > Preferences > SystemConfiguration >
         - Delete "com.apple.airport.preferences.plist" file
    Turn off your computer
         - push and hold Option+Command+R+P
         - turn on computer
         - when the grey screen turns on you will hear the OS X "ON" sound (for lack of a proper term) and it will momentarily restart.
         - you will once again hear the "ON" sound, let go of all keys.
         - this resets your PRAM
    Go to Preferences > Network > Advanced > + sign
         - click Choose a Network
         - Select your network and enter password
    Viola!!! I tried this on my Macbook Late 2008 and my girlfriends new Macbook Pro 2010

         No you are clearly mistaken. The Self-Assigned IP address problem exists on many Macbook Pro models, including the current model, which I mentioned as being the original computer with the problem. While my 2008 Macbook is older it was working perfectly on Snow Leopard and didn't suffer issues until switching to Lion. So clearly the problem exists on the operating system and not so much the hardware.
         I called Apple Support  and they had no fix for the problem and told me that this would hopefully be addressed in a subsequent update. It wasn't until I came accross the answer after trying many different methods that I got both of the Macbooks to connect to my router. Otherwise I wouldn't or could not have been surfing the internet for the last 4 months.
    Cheers.

  • Iphone work on air print and not ipad

    iphone work on air print and not the ipad?  any suggestion?
    This question was solved.
    View Solution.

    Hi,
    Please use instructions from the following link to check and fix:
       iPad: http://www.apple.com/support/ipad/assistant/airpri​nt/
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Code works with Dreamweaver CS6 and not with CC

    <p><a href="javascript:void(0)" onclick="window.open('http://www.anything.comt', '', 'top=20,left=20,toolbar=0,statusbar=1,scrollbars=1,resizable=1')" title="title">name</a></p> works with Dreamweaver CS6 and not with CC
    [Edited Title and moved to Dreamweaver- JTS]

    I'm not quite sure I understand your point.
    I have just tested the Open Browser Window behavior in Dreamweaver CC. It creates slightly different code from Dreamweaver CS6, but it works correctly. This is what is created in the HTML:
    <p>my <a href="#" onClick="MM_openBrWindow('http://www.adobe.com/','mywindow','toolbar=yes,location=yes,status=yes,menubar=yes,scrollb ars=yes,resizable=yes')">link</a>
    </p>
    Dreamweaver CC also adds the following code to the <head> of the page:
    <script type="text/javascript">
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    </script>
    The definition of the MM_openBrWindow() function is needed in the <head> for the code to work. But it definitely works OK.
    With regard to _self and _blank not working, I can't find any problem with the way Dreamweaver CC handles them.
    However, if you feel happier working with Dreamweaver CS6, you can download it from the following page:
    https://creative.adobe.com/products/dreamweaver
    Open the drop-down menu under "In this version", and select Dreamweaver CS6 as shown in the following screenshot:
    With Dreamweaver CS6 selected, click the large Download button at the top-right of the page. You can then download CS6, and install it alongside Dreamweaver CC.

  • How do I determine if the memory problems are with my imac and not the RAM?

    I've heard of some vague problems with intel imacs and their memory slots. I'm about to replace (for the 3rd time) RAM, and think I need to test further to see if the problem is with my imac and not the RAM. Right now I put back in the original 2-512 sticks that came with the imac, and the rember test is only showing 594mb (odd amt!) testing OK. But, in "about my mac" it will show as 1gb.
    Problems I've had with each set of RAM: occasional KP's, excessive spinning beachballs, sudden closing of apps (esp. if I have several apps running), won't fax usually (will hear a fax tone instead of a dial tone at the onset), disappearing documents section under my username.
    I bought this imac refurbed thru the apple store last fall: 2.16 C2D 20" imac
    Any ideas before I have to separate myself from my imac to send it in??

    Hi Toodles
    The pin strips on the new modules maybe a little thicker than your original modules, and it's going to take more force to seat them properly. If the new Memory Specifications are correct I would try them again. Slide them in untill they stop, then push real hard untill you feel them seat into place.
    I've never seen a report about an odd amount of ram shown. If reinstalling the ram modules does not solve your issue, and may be a indication that there is something wrong with one of the slots.
    Dennis
    17" iMac Intel Core Duo - 2GB Ram -   Mac OS X (10.4.10)   - Maxtor 300GB FireWire - Creative Inspire 2.1 - 2G Nano

  • Auto To working for one material and not working for other material

    Hi,
    Hope everybody is doing fine.
    I have configured the auto TO. Its working fine for one material and not working for the other material. I checked the material master and wm 1,2 views have the same fileds / values. What could be wrong?
    I didn't setup the back ground processing job. Is that is affecting it?
    thanks for any help.
    regrads,
    KHAN

    Thnaks,
    You are right but then what could be wrong? Its working for one material and not working for otehr material? Any clue?
    Appreciate your time charlie

  • Outlook 2011 works on 1 network and not on the other

    Hello guys,
    I just purchased a Macbook Air and MS Office 2011 for Mac. I setup the computer while I was at work (using a wireless network) and was able to get all my emails in perfect order.
    However, once I got home (on my home wireless network) when I hit Send/Receive, I get the "Authentication Failed Error 17900" message.
    I must add that I have 5 different accounts setup, 4 are my personal domains and one is Gmail. Gmail works fine on outlook both from my office and home.
    I tried changing many settings in Outlook, but nothing seems to work. I'm not really good with these things, but my logic tells me that if everything works in the office and not at home, it must have something to do with my router at home! Could this be the case? Can anyone help me please? My office is an hour away and I hate to go there just to check or send emails.
    Thanks in advance for your help.

    Hi,
    Thanks for taking the time to help me out.
    What I did was, I connected my other laptop directly to the internet cable, and everything seemed to be working fine (I had the same issue on my windows laptop)
    So, I jumped to the local Apple Store and picked up an aiport extreme and voila! everything runs smooth now
    Thanks again, I appreciate your help.

  • Does airplay mirror only work with the ipad2 and not ipad1

    does airplay mirror only work with the ipad2 and not ipad1

    But can it still stream video wirelessly?
    For example, with the Digital AV Adapter I can watch video on my TV, but obviously it's wired.
    I'd like a wireless option.

  • I fixed the problem with the whole 'waiting' and not loading but now some of my apps won't open, what can I do?

    I fixed the problem with the whole 'waiting' and not loading but now some of my apps won't open, what can I do?

    - Try a reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Purchase/install any new app
    - Try the remaining items of:
    iOS: Troubleshooting applications purchased from the App Store

  • Why do some of my apps only work ón my iphone and not ón my iPad ?

    Why do some of my apps only work ón my iphone and not ón my iPad ?

    That should work on the iPad. Basic app troubleshooting from Apples support site. Items 1, 2 & 3 should not apply to your situation, but I posted the link at the end if you want to read them.
    4. Restart the application
    If the issue affects only a single app, try closing just that app:
    Press the Home button to return to the Home screen.
    Double-tap the Home button to display recent apps.
    Tap and hold the affected app until the red minus appears.
    Tap the red minus to quit the app.
    Press the Home button, then restart the app.
    5. Restart your device
    Hold the Sleep/Wake button until "slide to power off" appears. Slide to power off your device. When it is off, press the Sleep/Wake button to turn it back on.
    6. Reinstall the affected application
    Remove the application from your device and reinstall it.
    Touch and hold any application icon on the Home Screen until the icons start to wiggle.
    Tap the "x" in the corner of the application you want to delete.
    Tap Delete to remove the application and all of its data from your device.
    Press the Home button.
    Go to the App Store.
    Search for the application and then download it again.
    Note: If it is a paid app, ensure you are using the iTunes account you purchased the app with originally. If it is not, you will be charged for the app again. For more information regarding downloading previously purchased items, see this article.
    7. If the issue is still unresolved
    If you continue to experience the issue, contact the developer of the application for further assistance.
    http://support.apple.com/kb/TS1702

  • HT204053 Why does my apple id work on my phone and not my ipad?

    Why does my apple id work on my phone and not my ipad?

    Try resetting the iPad and try again >  iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting

  • c:set works in one page and not another.. rediculous problem

    Hi all,
    im having one hell of a strange problem..
    i have this bit of code on one page..
    profile_body.jsp
    <jsp:useBean id="user" scope="request" beanName="com.insaini.publogs.business.UserBean" type="com.insaini.publogs.business.ProfileInterface" />
    <jsp:setProperty name="user" property="user" value="<%=request.getRemoteUser()%>" />
    <c:set value="${user.profile}" var="profile" />and i have this in my editProfile_body.jsp
    <jsp:useBean id="location" scope="request" beanName="com.insaini.publogs.business.LocationBean" type="com.insaini.publogs.struts.listeners.LocationListener" />
    <jsp:useBean id="org" scope="request" beanName="com.insaini.publogs.business.OrganizationBean" type="com.insaini.publogs.struts.listeners.OrganizationListener" />
    <jsp:useBean id="user" scope="request" beanName="com.insaini.publogs.business.UserBean" type="com.insaini.publogs.business.ProfileInterface" />
    <jsp:setProperty name="user" property="user" value="<%=request.getRemoteUser()%>" />
    <c:set value="${user.profile}" var="profile" />the profile_body.jsp loads fine.. but the editProfile_body.jsp does not load at all and its throwing this error..
    An error occurred at line: 17 in the jsp file: /jsp/includes/editProfile_body.jsp
    Generated servlet error:
    org.apache cannot be resolved or is not a field
    where line 17 points to
    <jsp:setProperty name="user" property="user" value="<%=request.getRemoteUser()%>" />
    this makes absolutely no sense since this exact same line works in the profile_body.jsp..
    any ideas?

    I think the problem is that you have an object in scope that has the name "org". Then, somewhere in the Java Code generated by the offending jsp:setProperty tag, there is a line that looks like:
    xxx = org.apache...
    What ends up happening is Java is looking in the object you have named org for a public (or otherwise visible) member named apache, and not finding it.
    This is a naming conflict, and gets resolved by renaming the <jsp:useBean id="org" object to something else (preferrably something other name org, com, net, or any other package name your system might have).

  • Just bought 2 Apple 6 plus phones. Cannot get my husbands email to connect. He works for the state and not sure if that is the problem or not. All his information is correct.

    Just bought two new iPhone 6 plus phones.  Cannot get the email to load on my husbands phone for his work.  He works for the state and I don't know if that is the issue or not.  Any suggestions?

    Your husband should contact his IT department at work to find out if he is allowed to set up his work email on his personal device and if so, how to do it.

  • 2 problems, iPod nano battery depleted and not recognized by Windows, help!

    Earlier this morning. At first when I connected the usb to the computer I got the screen in the nano that said "apple.com/ipod/support" or something like that, with the folder/exclamation mark icon. It was charging but I disconnected it cause I had to go. I tried to do the same at night but this time is when it's totally dead, and not recognized at all. What can I do now?
    I havent used the nano in a while and the battery is depleted, so I tried to charge it but neither windows or itunes or the updater/restore recognize it.
    I'm on a laptop, I already tried most of the stuff in the faqs but it wont work.

    i kind of have the same porblem, my klaptop does regcognize the ipod on "my computer" but the iPod dosen't shows up in iTunes, and i have tried almost everything in the faq that show how to fix the problem, but it still dosen't work....

  • Substitution problem in VO with viewlink and not in expert mode

    Hi All
    i have to extend a VO ,standar VO is not in expert mode so i made it and then extended the VO(need to add two new date columns) and substituted the BC4j ,i was involved in this discussion also
    Re: Substitute ViewObject. Urgent!!!!!  Thank you
    ,and i was aware that viewlinks should take care by substituion itself ,but in my case it is creating problem ,first it has thrown the error given below
    oracle.apps.fnd.framework.OAException: oracle.jbo.InvalidParamException: JBO-25006: Invalid parameter value PoRequisitionLinesVO for source passed to method ViewLinkImpl.setSource.  Explanation: view def mismatch
    then i modified the VOExRowImpl and added the viewlink setter getter from seede Rowimpl ,now it it not throwing the InvalidParamException ,but throwin OAAttrValException saying get method for LineNum is not resolved ,now i m puzzeled what is going on ,i m sure i have not made any mistake in substitution, any clue would be very helpful for me ,please throw some light on this issue
    thanx
    Pratap

    thanx kumar, nice to see your reply.
    basic requirement is i have to create two date fileds on the requsition line form ,it shud appear on the basis of selected value in a field of same row ,so i set PPR ,initially i bounded these fields with spared attributes of VO but it was creating problem after page refresh ,i have raised the issue in the forum
    Date value format is changed itself after page refresh
    raised a tar with oracle ,issue was that these attributes are varchar type and used for the date fields, thats y creating the problem after page refresh ,VO extension didnt work bcz these attributes are already there in seeded VO with there data type, so they can not be changed in VO extension,oracle suggested create two columns with date type in the seeded table itself and use them in VO extension , i did it ,now the problem is
    i have extended the VO ,and this problem came ,one thing i m not sure is
    since i have added two new columns ,shud i do EO extension (i did it ) and then VO extension ,if yes then how bcz when i will move all the files from server they are all standard files and ,extended VO is getting the reference of seeded VO which is using the seeded EO not the extended EO .
    so what approch or steps shuld i follow to add this newly added column in VO .
    thanx
    Pratap

Maybe you are looking for

  • Trouble Adding Folder to iTunes from HD

    I've been a longtime iTunes user and love the program. Recently, I've purchased a couple CDs and for some reason, iTunes will no longer allow me to add files to my library. I ripped the CDs using Windows Media Player because I prefer to rip at a high

  • Iphoto 9.6.1 Slideshow Places Theme randomly reordering photos - not sure why?

    I've manually reordered photos in Library based on location (and manually assigned gps location in info). After creating slideshow, when I choose 'Places' theme it seems to randomly reorder photos - not just into 'places' order. Help! Also, when I us

  • OMDO - Authorization on plant

    Hello all, I am one question on OMD0 transaction. I want to secure the access per plant to this transaction. The authority check is only in the object S_TABU_DIS for today. Does everyone can help me ? Thanks !

  • Duplicatin​g Desktop on W530

    I purchased a W530 last fall. Sometimes I connect it to our large Samsung TV so that a few of us can see what I'm  doing. I'm connecting through the VGA port. But the system won't let me DUPLICATE the desktop; the option for "duplicate" shows up, but

  • Trouble starting touchsmart, startup repair 3 times before start, getting error 100c

    i have touchsmart iq500 series, hard drive crashed, was replaced, will not start correctly, have to perform startup repair 3 or 4 times before it will start and reads error 100c