JTattoo 的外观和感觉 Java - 究竟发生了什么?

发布于 2024-09-10 16:12:33 字数 185 浏览 4 评论 0原文

我下载了 JTattoo.jar 以了解我的应用程序的外观。然而我很困惑,外观和感觉概念是运行时问题吗(当我运行应用程序时,我只会看到 JTattoo 外观和感觉,但在设计器上看不到)?或者我可以将组件添加到调色板中,以便我可以拖放组件吗?

您能否向我提供使用 Swing 以外的库并在调色板中拥有更多桌面项目的信息?

谢谢

I downloaded JTattoo.jar for the look and feel of my application. However I am confused, is the look-and-feel concept a run-time issue (I will only see the JTattoo look and feel when I run the application but not on the Designer)?? or can I have the components added in the Palette so I can drag and drop the components??

Can you provide me with info to work with libraries other than Swing and have more desktop items in the Palette??

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

花开雨落又逢春i 2024-09-17 16:12:33

外观和感觉将应用于运行时而不是设计时,因为 IDE 并不天真地在设计时支持这一点。

如果您的意思是您需要具有外部功能的 swing 组件,请尝试 SwingX

此外,您可以添加 swingx 组件(或任何其他组件库)以 netbeans 设计器为例,请按照以下步骤操作:

转到调色板管理器(工具 → 调色板 → Swing/AWT 组件),单击新建类别...,将其命名为 SwingX,单击从库添加...,然后选择您在中创建的 SwingX 库步骤 3. 激活所有组件 (Ctrl-A),选择 SwingX 类别,然后就完成了!

The look and feel will be applied in run time rather than design time because IDE doesn't support that in design time naively.

If you mean you need swing components with external functionality try SwingX

Moreover you can add swingx components (or any other component library) to netbeans designer for example by following these steps:

Go to the Palette Manager (Tools → Palette → Swing/AWT Components), click New Category…, name it SwingX, click Add from Library…, and select the SwingX library that you created in step 3. Activate all the components (Ctrl-A), choose the SwingX category, and you’re done!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文