Create JTabbedPane example
With this example we shall show you how to create a JTabbedPane component in a Java Desktop Application. This is a very important GUI component in a graphical application, because it lets you create...
View ArticleAdd tab to JTabbedPane
In this tutorial we are going to see how to add a tab to a JTabbedPane component of a Java Desktop Application. Basically, all you have to do is: Create a new JFrame. Call...
View ArticleEnable scrolling tabs in JTabbedPane
With this example we shall show you how to enable scrolling in a JTabbedPane component of a Java Desktop Application. In order to do that you just have to follow these steps: Create a new JFrame. Call...
View ArticleGet/Set selected tab in JTabbedPane
With this tutorial we shall show you how to get or set the selected tab in a JTabbedPane component of a Java Desktop Application. Basically all you have to do for it is to: Create a new JFrame. Call...
View ArticleGet tab info in JTabbedPane
In this example we are going to see how to get the tab info in a JTabbedPane component of a Java Desktop Application. Basically all you have to do for it is to: Create a new JFrame. Call...
View ArticleRemove tab in JTabbedPane
With this example we shall see how to remove a tab from a JTabbedPane. In order to do that, one should follow these steps: Create a new JFrame. Call frame.getContentPane().setLayout(new GridLayout(1,...
View ArticleSet tab color in JTabbedPane
With this example we shall see how to set tab color in JTabbedPane. In order to do that, one should follows these steps: Create a new JFrame. Call frame.getContentPane().setLayout(new GridLayout(1, 1)...
View ArticleSet tool tip for tab in JTabbedPane
With this example we shall see how to set the tool tip for a tab in JTabbedPane. In order to do that, one should follow these steps: Create a new JFrame. Call frame.getContentPane().setLayout(new...
View Article