Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to set up JBuilder's text editor?

Posted on 2003-10-28
5
Medium Priority
?
231 Views
Last Modified: 2013-12-13
Hi experts,

I am new to JBuilder and wonder if anyone knows how to set up the text editor, so it will be easier to edit the codes? I mean like tab indent, block indent? Also, what is the convention in terms of the format of the code? Whould the function start at the first line, or not? thanks.
0
Comment
Question by:panpioneer
  • 2
3 Comments
 
LVL 14

Expert Comment

by:Farzad Akbarnejad
ID: 9640105
1. Try "Run>Run Project" command on menu bar.
2. In the Project Properties dialog box goto Formatting tab.

-FA

0
 
LVL 35

Accepted Solution

by:
TimYates earned 100 total points
ID: 9640383
> what is the convention in terms of the format of the code

There are a couple of styles that are generally accepted...

This is the one Sun recommends:

http://java.sun.com/docs/codeconv/

I personally prefer to have opening braces "{" on a new line rather than at the end of a function definition, or for block...  I just prefer it

*shrug*

So long as you can defend your style, and you are consistent, and it doesn't annoy your co-workers, there shouldn't be a problem ;-)
0
 
LVL 14

Expert Comment

by:Farzad Akbarnejad
ID: 10467554
It is OK and I am agree.

-FA
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question