如何在Netbeans中更改JTabbedPane中选项卡的顺序? [英] How to change the order of tabs in JTabbedPane in Netbeans?

查看:127
本文介绍了如何在Netbeans中更改JTabbedPane中选项卡的顺序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望这是一个非常简单的问题.

This should hopefully be a very easy question.

在Netbeans中,使用GUI Swing编辑器在JTabbedPane中有四个面板.

Within Netbeans, using the GUI Swing editor I have four panels within a JTabbedPane.

选项卡#4我想坐在选项卡#1现在的位置,但是我最后一次创建了它,因此默认情况下它位于列表的末尾.

Tab #4 I want to sit where Tab #1 is now, but I created it last so by default its at the end of the list.

如何在Netbeans的GUI中移动它?

How to I move it in the GUI in Netbeans?

Google并不是我的朋友.我不断提出关于制表符顺序(例如,通过表格进行制表符)而不是我真正想要的问题.

Google has not been my friend on this one. I keep coming up with questions about tab order, (e.g. Tabbing through forms), rather than what I actually want.

推荐答案

右键单击 JTabbedPane->更改订单->您将获得上移和下移的选项,它将更改顺序标签.

Right Click on the JTabbedPane->Change Order->You will get option to Move Up and Move Down which will change the order of tabs.

这篇关于如何在Netbeans中更改JTabbedPane中选项卡的顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆