Menu

icons not loading

Help
2011-11-11
2013-03-18
  • nenad cikic

    nenad cikic - 2011-11-11

    I had a problem with some icons. They were not shown at runtime in c2j. After some debugging i have found that the icons (both .ico and .png) should be named with all lowercase in resources\resources\images folder.

    Do you confirm this behaviour?
    Thanks
    Cikic Nenad

     
  • Andrew Barnham

    Andrew Barnham - 2011-11-11

    Yes, this is the case.  (See getImageUTL() in CWinImpl).

    The motivation is that windows file system is case insensitive, but resources stored in a .jar file are case sensitive. To overcome this discrepancy, c2j forces lookup of resources based on them being case insensitive.

     
  • nenad cikic

    nenad cikic - 2011-11-12

    OK
    Cikic Nenad

     

Log in to post a comment.

Auth0 Logo