JTabbedPane with close button in netbeans - netbeans

I am working with JTabbedPane in netbeans 7 so i need to add close button on every tab. how can i add close button in the tab in netbeans. I just want to make tab like netbeans.
thanks in advance.

Related

How to attach the console in eclipse?

In eclipse the console is somehow undocked. Now it's appearing like below :
How to attach it to the window? I tried the "pin console" button but nothing happening. I am running eclipse kepler.
Please help.
It is just a drag of the pop up window to the main window. Key is to drag by tab title not by main window. In your case, start dragging at tab titled console!
You can click Windows > Reset perspective to go back to default perspective settings.
The easiest method that worked for me in Eclipse Photon is:
Click on the Open Console icon present amongst the icons on the console window.
Open Console icon:
Click on New Console View
New Console View:
This will start a docked version of the current console.
And the one which is detached can be simply closed thereafter.
Go to WINDOW, then select these submenus:
SHOW VIEW
CONSOLE
As in this screenprint:
that's it
Window->Perspective->Reset Perspective
Grab on Git Staging icon, drag and drop on console bar:
From opened Eclipse; go to Window>Perspective>Reset Perspective
Back to Window>Show View
Click on Console.
I found this convenient.
You can click on Windows > Reset perspective. It will reset perspective settings

How to close this navigation menu on the editor in Eclipse

How can I close this navigation menu on Eclipse?
Please help me. It is annoying and bad for my OCD.
Thanks
Click the Toggle Breadcrumb button in the toolbar. It's the one in the middle which is currently active.
It is called the breadcumb bar, so you can toggle it with Ctrl+3 > Toggle Java Editor Breadcrumb or other ways.

Xterm right click misbehaviors

When I open linux eclipse IDE from windows using xterm(Reflection, MobaXterm), I found few problems:
When I right-click on a project, the menu appears for a millisecond, and disappears with a click action on about.
Sometimes the menu appears on right click, but if that menu has more items, usually it should scroll down/up, but the scroll button staying behind windows tast bar.
Can anyone help me on this?
Thanks in advance!
I have the same issue too. It seems that the right-click menu disapears behind the Eclipse main window and behind the Windows taskbar...
Here is the workaround I use currently: in MobaXterm 5.0, just go to "settings" --> "X11" and choose "Windowed mode with Fvwm": this will open an X11 window.
When you run Eclipse using this tip, it correctly displays the right-click menu.
I hope this helps!
I googled but didn't find a solution.
For the first one, you can right click and hold it, move the mouse to the target menu entry, then release it.
In this way you can avoid a wrong click.

How to show the hidden toolbar of Eclipse

Eclipse has a context menu item to hide the entire toolbar of RCP.
Where is the corresponding menu item to show the hidden toolbar?
I know it should be shown if using a new workspace. However I hope find the related feature in the GUI of eclipse.
Use the Window menu, you have a "Show toolbar" option there.
I'm on Mac OS X, and one thing I always forget about is the stupid lozenge button in the upper right corner of the window. I hit this by accident and was going nuts trying to figure out where my toolbar had gone until I (experimentally) hit it again.
I tried one solution here and worked for me. If you can not reset or change something from eclipse GUI, Go to your project folder eg. "Workspace". Delete folder ".metadata". Now open eclipse again and browse "Workspace". Import your projects from the "Workspace". It will reset eclipse to default.
In eclipse oxygen version it is available under
Windows --> Appearance --> Show Toolbar

How to open the 'Projects' panel in Netbeans

In Netbeans, to the top left of where the code is, there used to be two panels, one called 'Projects' where you could click a project name to open a tree of all the directories and files in it, and you could double click a file to edit it.
Below it is the navigation panel which shows the class names, methods, etc contained in the file you're viewing.
I accidently clicked the close button on the projects panel and can't figure out how to get it to open again, any ideas?
In Netbeans 6.8 on Windows, going to Window -> Projects brings it back for me. CTRL + 1 works as the shortcut.
Click Window > Reset Windows will give you back the old state of all windows!
just go to Window in menu bar and select Projects
Window -> Projects
In NetBeans 8.2 Go to Window->Navigator in menu bar or press Ctrl+7 and select Projects
it will open a folder as work space .