Get ready for any mobile screen - JavaFX

Developers are ready for any mobile screen. What does it means when we say "any mobile screen". I will explain in a minute. Lets take a sample from javafx sample repository. For a while, I am taking my sample, Carousel. And I will show you how it works on mobile screen. 

We can see all things changed dynamically with change in orientation or screen size. The second is landscape mode which has a different mobile screen size. Images moved to the right position(center of the screen), lower bar adjusted its position according to screen size. 

Believe me, not more than 5 lines of code is required for these changes. This is what we call the power of binding. Components are so nicely binded with each other, that your idea is your implementation.

We have checked this sample on lot of mobile screen size and its running fine. In general, I can assure you, it will run fine on all screen(can be little problem on too small screen size, because there is no image resizing we have done in code. We can expect this behavior will  most of the application which will run on mobile.

 Thats why I said, developers are ready for any mobile devide and any mobile screen. Happy FX'ing.

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

Hi, I am Vaibhav Choudhary working in Sun. This blog is all about simple concept of Java and JavaFX.

Search

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