开发者

List of buttons in swing

开发者 https://www.devze.com 2023-03-18 00:23 出处:网络
I would like to implement a list of interactive buttons using Swing. It is something similar as on the picture (from NetBeans UI designer):

I would like to implement a list of interactive buttons using Swing. It is something similar as on the picture (from NetBeans UI designer):

List of buttons in swing

You can drag and drop the items to a canvas, or single click on the item and then single click on the canvas. However, I don'开发者_开发知识库t know which swing components I should use. Are that JList or JButtons or something different?


There is a tutorial avalaible on how to achieve such functionality. It is utilizing the NetBeans Palette API, which makes you dependent on NetBeans as Framework, not IDE.


Depending on the goal, you might want to look into developing for the NetBeans Platform.

0

精彩评论

暂无评论...
验证码 换一张
取 消