JavaFX - Book Panel


A new JavaFX sample is released which simulates the flipping pages of book. In various conference and booth many were interested in understanding the logic and wanted to use it in their application. The sample is developed by Chris Campbell and is available at JavaFX - Samples website along with source.

<script src="http://dl.javafx.com/1.1/dtfx.js"></script><script src="/rakeshmenonp/resource/BookPanel/BookPanel.js"></script>

For Applet mode, click on above image

For standalone mode

Try it out! Have fun!
Comments:

Hi Rakesh,

I have found much of the information on this website very useful so thank you very much.

I have a question regarding this book panel, is it possible to replace the "var fill" and the "var text" with a "{__DIR__}" image? Cant seem to work it out my self...

Thanks
Lee

Posted by Lee on February 28, 2010 at 07:56 AM IST #

Hello Rakesh,

Any chance of answering my question above? Or should I be asking someone else?

Looking forward to your response.

Lee

Posted by Lee on March 04, 2010 at 05:40 AM IST #

@Lee can you let me know what is actual issue? I tried replacing text node with ImageView and it works fine.

t = ImageView {
image: Image {
url: "<url to image>"
}
}

Posted by Rakesh Menon on March 04, 2010 at 06:12 AM IST #

Thanks that code worked perfectly.

Lee

Posted by Lee on March 05, 2010 at 01:51 PM IST #

i am ask sent a script example book panel. thanks!!!!!!?????

Posted by rhean on April 29, 2010 at 02:50 PM IST #

@rhean looks like they removed the sample temporarily after JavaFX 1.3 release. I think they will publish them back soon.

Posted by Rakesh Menon on April 30, 2010 at 03:59 AM IST #

when it's clicked double on the bottom corners, that pages behave strangely. I tried to change pages by mouse click too and changed starting page so i could get first page as cover of that book. But that double click on that grips doesn't work correctly. any tips?

Posted by Felix on May 01, 2010 at 04:41 AM IST #

ok, i solved that problem. thanks for that great work.

Posted by Felix on May 02, 2010 at 05:33 PM IST #

Thanks Felix...

Posted by Rakesh Menon on May 03, 2010 at 08:56 AM IST #

Post a Comment:
Comments are closed for this entry.
About


The views expressed on this blog are my own and do not necessarily reflect that of my organization

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today