look-and-feel

How I do I make controls/elements move with inertia?

我与影子孤独终老i 提交于 2019-12-03 04:35:24
问题 Modern UI's are starting to give their UI elments nice inertia when moving. Tabs slide in, page transitions, even some listboxes and scroll elments have nice inertia to them (the iphone for example). What is the best algorythm for this? It is more than just gravity as they speed up, and then slow down as they fall into place. I have tried various formulae's for speeding up to a maximum (terminal) velocity and then slowing down but nothing I have tried "feels" right. It always feels a little

Android layout examples that match “Metrics and Grids” recommendations

只谈情不闲聊 提交于 2019-12-03 04:08:08
问题 After trying to make sense of the Metrics and Grids page of the (fairly new) Android Design website, I gave up on a lot of things. So, basically, I'm trying to find the original layouts that are used in Android 4, so that I can apply the same concepts. To make this question more objective and not fail under the "too broad" axe of stackoverflow, I ask you for the layout that is used to recreate, exactly and fully , the examples on that page. Did Google provide them in the samples? Maybe a well

Eclipse look & feel customization

让人想犯罪 __ 提交于 2019-12-03 03:38:56
I need to customize the look & feel of my RCP application. I took a look at Eclipse Presentation API and I suppose it allows to customize everything in workbench except controls. So is there any solution to customize controls? I made some research work and implemented some ad-hoc SWT cunstomization using control canvas drawning. May be there are better solutions? In Swing you can use Synth theme. It would be great if some 'skin' framework exists for SWT. One way of customizing an RCP app is by using a plugin_customization.ini file. Like this: Create a new file called "plugin_customization.ini"

Can we develop very good looking UI in swing and if not what are alternatives

只愿长相守 提交于 2019-12-03 02:22:14
问题 In my current project we have to develop a good looking desktop based application in java. Currently, we have a very basic desktop application written in swing and team does not have good swing knowledge. Can we create a very good looking UI in swing? Should we use JavaFX for creating the desktop application? What are other alternatives to do this? 回答1: Swing is very flexible with regards to look-and-feel and you can certainly make very good looking applications with Swing. I recommend the

How can I create a “modern looking” Java desktop application?

我怕爱的太早我们不能终老 提交于 2019-12-03 01:30:46
问题 Similar questions to this are asked periodically, but many of these answers are outdated. I need to build a cross-platform desktop application in Java with a GUI of comparable quality to contemporary desktop apps. Swing is the default choice, but I have yet to encounter a Swing application that didn't look, at the very least, quite dated and clunky (subjective, I know, but with GUIs it's hard to avoid aesthetic judgements). I notice that the new Bitcoin client now uses QT with Java bindings,

Gui problem with java substance Look And Feel

允我心安 提交于 2019-12-02 20:19:24
问题 There is a pretty strange error with setting look and feel. For setting look-and-feel I use the following: ... String scheme = "net.sourceforge.atunes.gui.substance.SubstanceATunesSunLookAndFeel"; try { UIManager.setLookAndFeel(scheme); UIManager.put(LafWidget.ANIMATION_KIND, LafConstants.AnimationKind.NONE); UIManager.put(SubstanceLookAndFeel.TABBED_PANE_CONTENT_BORDER_KIND, SubstanceConstants.TabContentPaneBorderKind.SINGLE_FULL); JFrame.setDefaultLookAndFeelDecorated(true); JDialog

How I do I make controls/elements move with inertia?

China☆狼群 提交于 2019-12-02 18:53:40
Modern UI's are starting to give their UI elments nice inertia when moving. Tabs slide in, page transitions, even some listboxes and scroll elments have nice inertia to them (the iphone for example). What is the best algorythm for this? It is more than just gravity as they speed up, and then slow down as they fall into place. I have tried various formulae's for speeding up to a maximum (terminal) velocity and then slowing down but nothing I have tried "feels" right. It always feels a little bit off. Is there a standard for this, or is it just a matter of playing with various numbers until it

Android layout examples that match “Metrics and Grids” recommendations

血红的双手。 提交于 2019-12-02 17:27:21
After trying to make sense of the Metrics and Grids page of the (fairly new) Android Design website, I gave up on a lot of things. So, basically, I'm trying to find the original layouts that are used in Android 4, so that I can apply the same concepts. To make this question more objective and not fail under the "too broad" axe of stackoverflow, I ask you for the layout that is used to recreate, exactly and fully , the examples on that page. Did Google provide them in the samples? Maybe a well known didactic repository that strives to conform with standards? Just as an example, it's not clear

How can I create a “modern looking” Java desktop application?

一世执手 提交于 2019-12-02 16:43:07
Similar questions to this are asked periodically, but many of these answers are outdated. I need to build a cross-platform desktop application in Java with a GUI of comparable quality to contemporary desktop apps. Swing is the default choice, but I have yet to encounter a Swing application that didn't look, at the very least, quite dated and clunky (subjective, I know, but with GUIs it's hard to avoid aesthetic judgements). I notice that the new Bitcoin client now uses QT with Java bindings, and does have an attractive user interface, but this has the disadvantage that it is no-longer pure

Can we develop very good looking UI in swing and if not what are alternatives

自古美人都是妖i 提交于 2019-12-02 15:53:31
In my current project we have to develop a good looking desktop based application in java. Currently, we have a very basic desktop application written in swing and team does not have good swing knowledge. Can we create a very good looking UI in swing? Should we use JavaFX for creating the desktop application? What are other alternatives to do this? Swing is very flexible with regards to look-and-feel and you can certainly make very good looking applications with Swing. I recommend the book Filthy Rich Clients by Chet Haase and Romain Guy if you want to learn how to make nice Swing GUI