Swing OverviewAccording to Enc

电脑杂谈  发布时间:2019-04-28 16:11:48  来源:网络整理

swing 组合_swing技术_swing技术

Swing OverviewAccording to Encyclopedia Britannica, Swing was a popular music in the United States, circa 1930–1945. Okay, maybe not in the Java sense. Instead, on May 23, 1995, John Gage, then director of the Science Office for Sun, introduced Java to the world. With its birth came something called the Abstract Window Toolkit, or AWT. In turn, with AWT came native widgets, and with this early native widget set came . . . trouble.32638

swing 组合_swing技术_swing技术

The original component set that came with the Java platform, AWT, was dependent on too many idiosyncrasies of the underlying platform. Instead of providing a mature-looking component set, Java offered the lowest common denominator version. If a feature wasn’t available on all Java platforms, it wasn’t available on any Java platform. And then you had to deal with all the browser/platform differences. Each Java runtime environment relied on how the component set was connected with the underlying platform-specific native widget set. If there were issues with the connection, first, they were specific to the platform (and/or browser) and second, you had to code around these problems so your programs could be write-once, run anywhere(WORA), the Java mantra of the time.

swing技术_swing技术_swing 组合

As Java technologies became more popular, users realized AWT was extremely slow and unreliable, and you couldn’t really do much with the provided components. Very few of them were available, and you couldn’t use them in a visual programming environment. So, new technologies were introduced, such as just-in-time (JIT) compilers to improve performance and, with Borland’s help, JavaBeans for a component-based development.


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-94760-1.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 汪东城
      汪东城

      中国也俱战

    • 姚彬彬
      姚彬彬

      地球动荡的根过太源歇斯底里了

    热点图片
    拼命载入中...