This FAQ is a wiki so that every community member can enter questions and answers as they come across them. Short instructions -- get an account, log on, and click edit to see how other people did it and do it like they did (copy and paste). Long version:
- When you are here for the first time ever, create your NetBeans Wiki account.
- Click "Log-in" and authenticate.
- Go to the FAQ site index (click "User FAQ" in the left column).
- Click on the “edit page” tab. This page can look a little scary at first, but don't worry, you don't have to change that much to get an entry added to the FAQ.
- Scroll down to the section where you want to enter your FAQ item. A section starts with either a single ! or a double !!.
- Once you have reached the section you want, add another line below that looks just like this, but contains the question that you want to add.
* [How can I refactor a twaddle builder?|FaqTwaddleBuilderRefactoring]
What does it mean?
- The star at the beginning places a bullet at the beginning of the list item
- The first part is the question.
- In the middle is a | between the question and the page title as a separator.
- The last part ("HowToAsk") must be a wiki word as page name: A wiki word should CamelCase and be something short and descriptive. Look at other entries to get an idea. Good wiki words look like "HowToAsk", "HowToConfigure" or "WhatIsUpdateCenter", etc.
- The braces make the entire thing a link to the actual answer page
- Click the Save button to save the index page (or cancel to discard your changes)
- Back to view mode, you should now be able to scroll down and see your question as one of the bullet items in the list. Click on your new (red) link.
- This will bring you to another edit window for the answer page. You can use the code below as a template for starting out your answer page, and fill in your own question (the same you just entered into the index) and answer.
!! How to prevent 100% CPU usage when browsing for a file from within any Dialog?
Each time I click a button to browse for a file or directory,
NetBeans hangs and takes 99% CPU.
This happens in all dialogs, e.g. to add an external .jar file,
to import an Eclipse project, etc...
Finally, add information at the bottom of the FAQ that tells what version of NetBeans and what OS platform the FAQ works with. Just add the versions and platforms that you know are right. If "See also:" information is useful, add it here also.
------------------------------------------
Applies to: NetBeans IDE 6.0 and 6.1
Platforms: All
See also: [How can I get a new module from the Update Center?|FaqAddingNewModule]
That's it. Save the page when you are done editing the answer. You can click on the Help tab (right beside the Edit tab) at any time to get help on formatting of the text. You won't lose your changes when switching between the help tab and the edit tab, so don't worry about that.
Now, start adding those FAQs!!
Source:
JB