l***s 发帖数: 28 | 1 【 以下文字转载自 Programming 讨论区 】
【 原文由 Links 所发表 】
我下载java J2SE的时候, 选择了下载boudle with NetBeans IDE。 结果
这个家伙, sigh, 一言难尽啊。 我的机器是英文版windows XP。 为了让
terminal 可以显示中文, 我就在language setting里边选择了, non-unicode
的program, 使用default 中文。 这个选择对unicode 的软件没有影响。
可是没想到这个NetBeans居然是个随风倒的家伙。 当我开启的时候, 它就
自动默认我的系统语言是Chinese, 所以软件成了中文版本。 看起来别扭级了。
然后我turn off language setting 中non-unicode program default lang - Chinese
以后呢, 再启动netbeans, 他就变成英文版奔了。 可是turn off 以后,
存中文软件就不能显示中文窗口了。 telnet也不能看中文了。 :( 而且
switch on and off每次需要重新启 |
|
|
g***l 发帖数: 21 | 3 hi,
I installed netbeans 6.0, it runs fine. I also used the sample applications
from the book "j2EE tutorial" as my guide. The sample codes were prepared on
NetBeans 5.5. Although it can imported in 6.0 IDE, some of them cannot get
compiled correctly. It seems to be a backward compatibility issue here. Does
someone have the experience on this?
also the netbeans web has some sample applications too. but it lacks a
tutorial for beginners. Did I miss the link here or I have to figure out how
the ap |
|
n*********n 发帖数: 580 | 4 netbeans和eclipse的理念完全不一样,netbeans就是个ANT的GUI interface。一般web
项目用maven就可以了,esb,portal就要依赖vendor提供的IDE plugin了,基本上不是
eclipse就是netbeans, 没有这些vendor提供的开发工具,基本没法干活。 |
|
e********y 发帖数: 66 | 5 【 以下文字转载自 Java 讨论区 】
发信人: expressway (null), 信区: Java
标 题: 问一个java和netbeans的问题
发信站: BBS 未名空间站 (Wed May 5 20:08:16 2010, 美东)
solaris 9 中有一个在netbeans中创建的java的程序, 它的用途是从数据库中读出一
些数据,有个界面上有个progress bar用于指示在读。
这个程序有3步, 第一步是连接数据库,第二步读一些数。第三步再读一下数。
如果在netbeans中直接运行,没什么问题。但是直接在console中用java运行编译好的
jar文件,1,2步没问题。界面就停在第三步,progress bar也不动了。好像数据也没
读。
java版本是1.6_19。
请问一下,该怎么才能在terminal中直接运行jar文件? 能否给点提示。
谢谢 |
|
m******t 发帖数: 2416 | 6 I'm sure today's IDE's share a lot of nice features.
But here are a few ones in Netbeans I like the best:
1. auto synchronization along the class hierarchy.
e.g. if you changed the signature of a method of an interface,
netbeans will automatically update all the classes implementing
this method to reflect the changes.
2. abbreviations. e.g. I can simply "Psf" to have
"public static final", or "st" to have "String". That
certainly helps relieve my CTS. 8-)
3. stroking one hot key would bring up a |
|
m******t 发帖数: 2416 | 7
Hmmm... I thought as far as LnF is concerned, it's just the Swing
LnF. I remember using the standard system property to set the LnF
of NetBeans to some packages I downloaded from the Internet, which are
just customized LnF's that are not NetBeans specific.
But that was 3.3, I haven't used NB since then, so maybe they added
some extra juice...
I meant "As far as I know", sorry for the confusion. |
|
w******n 发帖数: 692 | 8
netbean 4.0 is nice. I prefer netbean.
装
是 |
|
c*****s 发帖数: 214 | 9 花了点时间试图把项目转到netbeans上因为eclipse操作现在的项目太慢。
结果根本没法用,下面是遇到的几个主要问题。
1. 不理解cvs的 extssh authentication方式。wincvs和eclipse都认得。
2. 可以用ext或ssh代替extssh, 但ssh bug很多。恐怖的是不管怎样,每次cvs操作后都
会留下一个没关掉的cvs和一个ssh进程。
3. 对ant依赖太重。为了他要多维护重复的脚本和properties文件。
4. XML编辑器功能太弱,基本的schema定义,多namespace下的自动填充都做不到。
5. 手感太差。使用上和eclipse, idea, jbuilder的概念相差太大。配置在global,
user, project各个层次上的分隔的太模糊。
当然也有它的好处。比如用mevenide插件可以把netbeans和maven非常紧密的集合起来,
这点得比其他IDE都要好很多。速度也不错。 |
|
F****n 发帖数: 3271 | 10 I only use NetBeans to do maven stuffs. When you set it up properly, the CVS
stuffs can work, too.
Other parts of NetBeans are generally unusable trash.
都
, |
|
x******o 发帖数: 31 | 11 my machine has 512M memory and runing windows xp. so far it is ok.
just tried netbean + VisualWeb package. drag and drop JSF commoponent on
design page. simply like microsoft dot net studio. so cool.
i am wondering that are there any eclipse and its plug-ins have the same
feature?
WTP plug-in of eclipse is sucks comparing to netbean VisualWeb package. |
|
w******n 发帖数: 692 | 12 If you just write java code, I think netbean is way better than eclipse.
Speed is ok. I have run oracle xe + two jboss instance + tomcat + netbeans
in my 1G memory linux box and don't feel bad.
ins |
|
g**n 发帖数: 806 | 13 各位高人,
在netbeans跑java project, 怎么创建和使用makefile?
查过了资料,发现netbeans支持C/C++ project中的makefile.
多谢。 |
|
k*********e 发帖数: 2039 | 14 在家用netbean写的ejb的作业,跑得好好的
跑到学校去给老师演示,结果就报错
仔细一看,glassfish认定的主机host是我的电脑名xxx.2wire.net:8686,也就是说把
我们家的路由器的名字给加上了,在家跑没问题
跑到学校去,因为换了个网络,就找不到host了,电脑名没有自动跟新,还是用的
xxxx.2wire.net。
把我的程序down到同学电脑上run,也是没问题的。
很头疼,以后总不能每次交作业,把老师请到家里来演示吧
到底是netbean设置的问题,还是我电脑自己设置的问题?
恳请大牛指点 |
|
c*c 发帖数: 447 | 15 8686 is JMX port。netbeans talks to Glassfish thru JMX to do admin stuff
like deploying apps. In the netbeans you should be able to change the
glassfish instance property by updating its hostname/ip to your localhost. |
|
e********y 发帖数: 66 | 16 solaris 9 中有一个在netbeans中创建的java的程序, 它的用途是从数据库中读出一
些数据,有个界面上有个progress bar用于指示在读。
这个程序有3步, 第一步是连接数据库,第二步读一些数。第三步再读一下数。
如果在netbeans中直接运行,没什么问题。但是直接在console中用java运行编译好的
jar文件,1,2步没问题。界面就停在第三步,progress bar也不动了。好像数据也没
读。
java版本是1.6_19。
请问一下,该怎么才能在terminal中直接运行jar文件? 能否给点提示。
谢谢 |
|
e********y 发帖数: 66 | 17 在console中我也是这么用的。没有错误提示。这个程序是后台读数DoInBackground,
前面的界面显示进度。现在是界面死了,什么都不行,关都关不掉。好像后台的数据都
读完了。在其他的OS上没有这个问题。
但是在netbeans中直接运行就没问题。所以不清楚为什么。可能是netbeans自己加什么
参数运行的? |
|
t*******e 发帖数: 684 | 18 netbean's database browser is the most favorable feature of mine. You can
query and make inline edits without authoring SQL statements. I do most of
projects in netbeans except those demanding eclipse plugins. |
|
w********r 发帖数: 331 | 19 菜鸟一个, 这两天快被netbean搞疯了。
一个好好的package(运行正常)copy 到另外一个folder, 然后Netbean报错, 说
duplicate class.
另外一个constructor的里的变量原本好好的, copy后 就说local variable accessed
by innerclass, needs to be declared final.
求有经验的同学, 前辈们建议一下。 谢谢! |
|
l**********n 发帖数: 8443 | 20 There’s no one feature that makes any of these free IDEs stand out, though
Eclipse has the benefit of being the most-used. NetBeans tends to be more
popular with independent developers and the Ultimate edition of Intellij
IDEA really does kick ass if you can afford it. I’d recommend installing
all three free IDEs and trying them out to see which you like most.
my two cents: netbeans is more stable than eclipse. |
|
W***o 发帖数: 6519 | 21 前些天有人说intelliJ比eclipse好的多,想问问netbeans比intelliJ好用吗?主要写
java, RESTful |
|
|
|
c*****t 发帖数: 1879 | 24 I like NetBeans' look&feel very much and would like to use it
in my own application (as well as its desktop pane). Any idea
of how to get it up and running?
Thanks |
|
m******t 发帖数: 2416 | 25
AFAIK, NetBean's l&f is nothing special, just standard Swing.
check out UIManager.setLookAndFeel. |
|
c*****t 发帖数: 1879 | 26 NVM, i just found its platform toolkit.
FYI, NetBeans' UI is definitely somewhat different from conventional
Swing Desktop (the desktop pane is most notably different), besides
usual Look&Feel plugins.
BTW, AFAIK = ?
thx |
|
m**c 发帖数: 90 | 27
Sorry, I don't use netbeans :-) |
|
s**o 发帖数: 584 | 28 In netbeans, a java~ file will be created for each .java file.
Is that possible to disable the creation of this .java~ file? |
|
l***s 发帖数: 28 | 29 主要的问题就是:这个Netbeans选择语言部是在安装的时候。 而是在每次
软件启动的时候。 :( |
|
f********f 发帖数: 475 | 30 我就用NetBean,挺好用的。我用的也是XP,中文显示和输入都没有问题。你好象是想在Ter
minal里显示中文,是吗?没试过。 |
|
o******t 发帖数: 1144 | 31 用eclipse吧, netbean is slow and ugly
了
什 |
|
h*********y 发帖数: 50 | 32 comparing to 3.6, netbeans 4.0 is pretty good, faster, more convenient.
能
这 |
|
b****q 发帖数: 265 | 33 俺是一个java新手,刚下载了NetBeans IDE4.0, 现在不知道怎么手动的编译和运行程序
。我只看到窗口有编译和运行的选项,但好像都不可以手动。我想问问怎样才可以用
javac 和 java 来编译和运行程序呢?
谢谢你的回答。 |
|
z***e 发帖数: 5393 | 34 netbean没用过。
Eclipse是自动compile.
JCreator是手动(建议你是新手用这个比较好,界面简单明了)。
JDeveloper也不错的。
序 |
|
g*****g 发帖数: 34805 | 35 How about start netbeans with a bigger heap size?
say -Xms128m -Xmx512m?
maybe that'll help. |
|
x******o 发帖数: 31 | 36 looks like netbean is getting more and more better and eclipse and plug-ins
are a lot lagged behind. may consider to swith seriously this time.
how about you guys? |
|
|
y********o 发帖数: 2565 | 38 Hmm, sounds tempting. I installed netbeans, and have been reluctant to use
it because it is so slow on my machine (xp sp2 on pentium celeron 2.8ghz,
760m ram).
I've been using m$ visual web developer a lot. |
|
x******o 发帖数: 31 | 39 netbean + visualWeb pack just like .net studio.
use |
|
g*****g 发帖数: 34805 | 40 I don't use netbeans, but I think everybody on Java side is
either using Ant or Maven |
|
Z****e 发帖数: 2999 | 41 我记得netbeans不是用ant的build script么 |
|
l********0 发帖数: 283 | 42 Some will say Netbeans, some will say eclipse.
I think either is Good. |
|
g*****g 发帖数: 34805 | 43 eclipse probably has more plugins, that's all I care.
netbeans is probably easier for first time users since
it's a well bundled package. |
|
w*r 发帖数: 2421 | 44 i used to use eclipse, but now i feel netbeans are much better, searching
plugins and dependency packages are big headache. |
|
F****n 发帖数: 3271 | 45 Eclipse is much better in terms of performance and quality, but it's not
standard Java. Netbeans's implementation is crap (although the design is
still good), but it is pure Java. |
|
b******y 发帖数: 9224 | 46 I like Eclipse. I think netbean has been slow and taking more memory. But,
these days it might be ok. |
|
|
A**o 发帖数: 1550 | 48 改成localhost不久可以了吗?这个跟netbeans没有关系啦。 |
|
A**o 发帖数: 1550 | 49 很抱歉,既不用netbeans也不用glassfish,帮不上忙。 |
|
z****e 发帖数: 54598 | 50 这跟NETBEAN一点关系都没有吧?
这是appserver的问题
也就是glassfish的问题 |
|