How to search a class in a Java library using the Netbean IDE?

I have no idea, but would like to know whether or not to search in java libraray using netbean IDE. For example, I heard ArrayList. And I want to find which package ArrayList belongs to. Is there any tool or plugins to search the Java library for the Netbean IDE?

+5
source share
4 answers

CTRL + O

This shortcut triggers an action called interchangeably using the NetBeans documentation for Go to Type...and Go to type/file. Using this shortcut resembles the SHIFT+ CTRL+ key combination Tin Eclipse. Both IDE: s will search for a Java type / class when typed into an open search field and provide a quick way to navigate to different types and classes. Thus, in your case, instead of writing "ArrayList x;" hold in your code somewhere CTRLwhile you click on the type of the variable with the mouse (or any other "hack" presented in this thread now or in the future) just press CTRL+ Oand enter "arraylis" should be enough.

, , . . Keymap . .

Netbeans .

+8

ArrayList + CTRL + SPACE Netbeans ,

, netbeans ArrayList

alt text

alt text

+1

.

Ctrl + Shift + I. . , .

0

You can press ctrl and then mouse over this function and press. You will be taken to the file where the protection function is provided. This way you can easily see the return type .. parameter type

Finding a library .. In netbean in the upper right corner is a box of cheese. There you can search for a library, for example google.

0
source

All Articles