Andy Stevens | 1 Feb 01:54

Re: Directory tree in Netbeans

2009/1/31 on9west <sumwo <at> yahoo.com>:
> Dear all
>
> How can I include the Windows directory tree in Netbeans IDE? Please advise.
>
> I am using Netbeans IDE 6.5 Ruby version.

Use the Favourites window and add one for C:\ ?

Andy
--

-- 
http://pseudoq.sourceforge.net/  Open source java Sudoku application

Wade Chandler | 1 Feb 04:34
Picon
Favicon

Re: TabbedPaneFactory

Best to join dev <at> openide.netbeans.org which is the users list for RCP users. Tom Wheeler and some others
who don't frequently watch the list are there. Anyways, just a good FYI.

Another FYI, it is best to use the JavaDocs for which ever version of the NB platform you are using. So, if 6.5,
install the module for the platform JavaDocs and use that or go to:
http://bits.netbeans.org/6.5/javadoc/index.html

as the Since ### doesn't always tell you much about the version of the IDE unless those version numbers have
changed. Sometimes it is the version of the module versus the IDE/Platform.

And the answer is to look in your module project properties. Go to the Libraries section. Click on Add
Dependency. In the Filter type in TabbedPaneFactory, this works for any class, and then click on the
library and choose OK. If the dependency doesn't show up you have to go to your suite project and make sure
that under the platform# module you have enabled UI Utilities API. Then it should show up in your module project.

Once you have the dependency setup you should be able to access the package and class. NB RCP uses a module
system which provides greater protections and categorization and modularization than the standard way
Java applications link to and depend on classes, and this is the issue. The NB system is sort of like a web
application where you have mutliple class loaders and separation though it provides more flexibility
than WAR/EAR class loaders.

Wade

==================
Wade Chandler, CCE
Software Engineer and Developer, Certified Forensic Computer Examiner, NetBeans Dream Team Member, and
NetBeans Board Member
http://www.certified-computer-examiner.com
http://wiki.netbeans.org/wiki/view/NetBeansDreamTeam
http://www.netbeans.org
(Continue reading)

HandyGeek | 1 Feb 05:03
Picon

Re: getting a JPanel to work

Hi Christopher,
It sounds as if you are doing everything correctly.  So, what if you try 
creating a plain Java Application, where NetBeans creates the Ant 
script, and not utilizing ImageJ?  If that works, then there must be 
something with either ImageJ, or the existing Ant script.  I would also 
recommend that you use the latest NetBeans, and Java6, which I think is 
at U11 now.  Hope something here helps.  Best, David

xcoulon wrote:
> Hi David, thanks for the reply!
>
>
>
> I used the GUI builder.  Created a New Project using the Java Project with Existing Sources in order to
utilize ImageJ -- I create automated image analysis applications to help researchers (mostly medical
and biological) automate their research.  I want to build a GUI for some applications to greatly simplify
its use by the researcher.
>
>
>
> I right-click one of the packages in my project and create a JFrame class.  That class has a Source and Design
tab at the top of the Netbeans window containing the code.  If I start with just a button (drag the button to
the design area) and compile and run the JFrame class (by right-clicking its java file and selecting Run
File from the drop-down menu), I get a Build Successful in the output and the name of the class momentarily
appears in the Apple menu -- as if a new application has started -- but no frame appears and the name
disappears after a second or two.
>
>
>
> I am using a MacBook Pro 2.4 gHz Intel duo with OS X 10.5.6 and java 1.5
(Continue reading)

Jaye Bass | 1 Feb 07:10
Picon

Re: getting a JPanel to work

"I am using a MacBook Pro 2.4 gHz Intel duo with OS X 10.5.6 and java 1.5"

Well there's your problem.

On Sat, Jan 31, 2009 at 9:45 AM, xcoulon <chris <at> gaiag.net> wrote:
Hi David, thanks for the reply!



I used the GUI builder.  Created a New Project using the Java Project with Existing Sources in order to utilize ImageJ -- I create automated image analysis applications to help researchers (mostly medical and biological) automate their research.  I want to build a GUI for some applications to greatly simplify its use by the researcher.



I right-click one of the packages in my project and create a JFrame class.  That class has a Source and Design tab at the top of the Netbeans window containing the code.  If I start with just a button (drag the button to the design area) and compile and run the JFrame class (by right-clicking its java file and selecting Run File from the drop-down menu), I get a Build Successful in the output and the name of the class momentarily appears in the Apple menu -- as if a new application has started -- but no frame appears and the name disappears after a second or two.



I am using a MacBook Pro 2.4 gHz Intel duo with OS X 10.5.6 and java 1.5

------------------------
Christopher Coulon, Ph.D.







--
Wm. Jaye Bass
Torch Technologies
office phone: 256-876-4895

"Simplicate, then add lightness"
legolas | 1 Feb 10:50
Picon

Why netbeans does not asks for glassfish v3 password when we add one?


Hi
When i tried to add a glassfish v3 to netbeans it didnt ask for the domain
user/password. Is there too much different between glassfish 2 and 3 that
version 3 does not need password when we want to use it from netbeans?

thanks
--

-- 
View this message in context: http://www.nabble.com/Why-netbeans-does-not-asks-for-glassfish-v3-password-when-we-add-one--tp21773215p21773215.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.

seanthomas | 1 Feb 07:10
Picon
Favicon

Control of disabled component look and feel

I am attempting to have some components editable at different times, without the standard visual effect of
setting "enabled" to false.

With the JTextField component I can set:

this.setDisabledTextColor(Color.BLACK);

and control the borders to give the look and feel I am after.

However, JList and JCheckBox  do not have a "setDisabledTextColor" method.

What strategies would you suggest to set a JList, JCheckBox (or other) component to disabled, that is not
editable, and control the look and feel?

Any advice would be greatly appreciated.

Kind regards

Sean

Szymon Juchno | 1 Feb 12:53

Diffrent charset for a single file in a project

Hi,
Is there a way to change charset for a single file in a project? If
no, is there a possibility to add that feature? I have a PHP project
in ISO-8859-2 with some XML files in UTF-8 and changing all files to
the same charset is not an option.

Cheers
Szymon

MarcinP | 1 Feb 14:43
Picon

IDE freeze for several seconds when using Grails-Plugin


Hi,

 I am using the Grails-Plugin in the current Release version of NetBeans.
Everytime I mark a piece of code, the IDE is freezing for several seconds.
It's very anoying.

 Any ideas?

 Thanks in advance,
Marcin

Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1252; de_DE (nb)
--

-- 
View this message in context: http://www.nabble.com/IDE-freeze-for-several-seconds-when-using-Grails-Plugin-tp21775321p21775321.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.

shilo | 1 Feb 14:48
Picon

Editor line height

I recently installed netbeans 6.5, and the line height seemed a bit funky. I found a post which suggests a fix
(http://justcheckingonall.wordpress.com/2008/12/26/change-line-height-in-netbeans/), but
the editor still looks a bit awkward in that the row cursor is not centered on the actual text (see
screenshot). Notice how the cursor is aligned with the top of the row, but exceeds the bottom...  If anyone
has a better fix, I'd appreciate it - thanks!

Attachments: 
http://forums.netbeans.org//files/sample_418.png

viniciuscs | 1 Feb 16:14
Picon

Using NetBeans 6.5 + Tomcat 6 and have to redeploy on every change in my jsp files

Hi,

I'm using this combination on a maven web project:

NetBeans 6.5, Tomcat 6, Spring, Struts2 and Hibernate. 

Changes made on html/jsp/js files doesn't need a entire redeploy right? Well, this isn't working for me.
This topic http://forums.netbeans.org/post-9813.html is about the same thing, but the user was using
JBOSS, since he changes for Tomcat the integration worked fine.

Any suggestions? Thanks,

Vinicius Sampaio


Gmane