// when message is received
JDialog d = new JDialog();
d.setSize(200,200);
d.setLocation(theXLocation, theYLocation);
d.add(new JLabel(message);
d.setVisible(true);
where the x and y location match the right corner to get these locations, see the toolkit class, that will allow you to get the dimension of the screen
How to implement slider window in javafx?
ReplyDeleteHiii Ananth
DeleteSliding a window is just a the Transition of a Node I guess. Are you trying to make the use of sliding window like of ANDROID/IOS system? If so then you can make use of KeyFrames, KeyValue and Animation or may be you can try some Transitions of JavaFX.
Thanks
How to implement MDI in javafx.
ReplyDeleteplease reply
I think it is not supported in javafx2..you may try fxtras.
DeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by the author.
DeleteThis comment has been removed by the author.
DeleteThis comment has been removed by a blog administrator.
DeleteI Came to know that Datepicker is not available in javafx 2.0..Then how to implement it in javafx ?
ReplyDeleteHiii Ananth
DeleteThe JavaFX 8 API, which is bundled with JDK 8, contains a new UI control known as the DatePicker. This video demonstrates how to use NetBeans 7.4 beta to create a JavaFX application from scratch that contains a DatePicker. It also touches on using Java lambda expressions to simplify event handling. In addition, the new date/time API is discussed, and the JFXtras CalendarPicker is demonstrated.
Note: (http://www.youtube.com/watch?v=wFDPrdtwwdc#t=184)In the video, my statement that "DatePicker extends ComboBox" should have been "DatePicker extends ComboBoxBase".
Regards,
Farhan Quadri
Hi Farhan,
ReplyDeleteWhat are the various techniques for clearing the floats in css?
Hiii Ananth use this for clearing the float in css
ReplyDeletestyle="clear:both;"
what is concurrent hashmap?
ReplyDeletewhat is weakhashmap?
ReplyDelete