This is good for functionality, but there are always some differences in look or behavior, so complex interfaces will never be identical to ones that use native components.
这对于功能性来说是好的,但在外观上或行为上总有一些不同,所以复杂的界面永远不会和使用本机组件的界面完全相同。
Because AWT follows the requirements of the native platform, the behavior of applications can be different on different platforms.
因为AWT遵循本机平台的需求,所以应用程序的行为在不同平台上可以不一样。
This added feature helps Swing controls better mimic the behavior of the controls of a system's native operating system.
新增的这项功能有助于Swing控件更好地模仿系统本地操作系统的控件的行为。
And Charles Darwin actually, who was an astute observer of human behavior, tells a nice story to illustrate this: how "a native touched with his finger some cold preserved meat and plainly showed disgust at its softness whilst I felt utter disgust at my food being touched by a naked savage though his hands did not appear dirty."
达尔文,对人类行为观察入微,他有一个故事很好地解释了反感:,“一个土著用手指碰冷腌肉,那种软软的质地让他感到很反感,而让我感无无比反感的是我的食物,被一个没穿衣取的土著碰了,虽然他的手不脏“
应用推荐