Peter Pis | 1 Jun 01:05
Picon

Re: MP3 In Java

Here it goes...

Go to "Tools | Plugins" from menu. Then in "Downloaded" tab push "Add Plugins..." button and proceed with installation.

-Peter

Michael Satterwhite wrote:
On Saturday 31 May 2008 02:53:59 Peter Pis wrote:
Hi, some time ago in times of NB 5.0 I developed a simple MP3 plugin (it's based on JMF). And I've tried it now for latest trunk builds and it works ;-) So if you are interested in it I can send you nbm and you can enjoy mp3 from within the IDE.
I'd appreciate that very much. ---Michael

Kai Ponte | 1 Jun 07:26
X-Face
Favicon

JTable Question

Not sure if this is Netbeans specific enough but...

I have a JTable, on which I'll add items from a database. When I create the 
JTable in the designer, I just add four columns and one row.  I figure I'll 
add rows as I need to fill up the table based on the number of records in the 
database table.

Of course, as soon as I try to add records to a row 1 (after adding to row 
zero) I get an indexoutofbounds exception.

I went ahead and created the JTable with 100 rows, and was able to add the 
data.

Now how can I dynamiclaly add rows to the table model based on what I'll be 
needing. It will change often during the course of the application. I may add 
rows or even subtract rows.

--

-- 
kai
www.filesite.org || www.4thedadz.com || www.perfectreign.com
remember - a turn signal is a statement, not a request

Gary Greenberg | 1 Jun 08:21
Favicon

Customizing manifest

In my project I have a number of properties files that are supposed to be in the application classpath.

At the same time I cannot pack them inside my project JAR as they are suppose to be easily accessible.

So, I created an etc/ directory in my project tree and placed these files in it.

When I build the project, my dist directory contains my JAR, lib and etc directories.

Everything is well except that I need etc to be included in the jars’ manifest.

I can do it by overwriting the target in build-impl.xml but I don’t like this idea.

If someone can suggest a better way to do it, I’ll appreciate it greatly.

May be there is something in project.properties that I am not aware or anything else???

 

 

 

Thanks a lot.

cowwoc | 1 Jun 09:19
Gravatar

Tomcat6 doesn't work with Netbeans 6.5 - Help!


Hi,

I downloaded the latest dev build of Netbeans 6.5 J2SE edition, installed
the "Web Applications" and "Tomcat" plugins and proceeded to try starting
Tomcat 6.0.16 from the Services -> Servers tab.

The "Tomcat 6.0 Log" window reads:

1-Jun-2008 3:06:56 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
1-Jun-2008 3:06:56 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()

The "Tomcat 6.0" window reads:

"Using CATALINA_BASE:   C:\Program Files (x86)\apache-tomcat-6.0.16
Using CATALINA_HOME:   C:\Program Files (x86)\apache-tomcat-6.0.16
Using CATALINA_TMPDIR: C:\Program Files (x86)\apache-tomcat-6.0.16\temp
Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_10
1-Jun-2008 3:06:56 AM org.apache.catalina.startup.Embedded initDirs
SEVERE: Cannot find specified temporary folder at C:\Program Files
(x86)\apache-tomcat-6.0.16\temp
1-Jun-2008 3:06:56 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program
Files\Java\jdk1.6.0_10\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
Files (x86)\QuickTime\QTSystem\;c:\batch;c:\util;C:\Program Files
(x86)\Java\jdk1.6.0_10\bin;C:\Program Files (x86)\TextPad 5;c:\Program
Files\ant\bin;C:\Program Files (x86)\Subversion\bin
1-Jun-2008 3:06:56 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
1-Jun-2008 3:06:56 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 456 ms
1-Jun-2008 3:06:56 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
1-Jun-2008 3:06:56 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
1-Jun-2008 3:06:56 AM org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for
this context. The duplicate definition has been ignored.
1-Jun-2008 3:06:56 AM org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for
this context. The duplicate definition has been ignored.
1-Jun-2008 3:06:57 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
1-Jun-2008 3:06:57 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
1-Jun-2008 3:06:57 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/19  config=null
1-Jun-2008 3:06:57 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 634 ms"

Netbeans sits there for about 2 minutes, then pops up a dialog that reads:

"Starting of Tomcat fails"

Please help :)

Thanks,
Gili
--

-- 
View this message in context: http://www.nabble.com/Tomcat6-doesn%27t-work-with-Netbeans-6.5---Help%21-tp17583013p17583013.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

cowwoc | 1 Jun 10:53
Gravatar

Re: Tomcat6 doesn't work with Netbeans 6.5 - Help!


It turns out that the problem goes away if I change my server port from 8080
to something else. What is weird is that netstat -a shows that no one else
is already listening on 8080 so I have no idea why the failure only occurs
on this port.

Any ideas?
--

-- 
View this message in context: http://www.nabble.com/Tomcat6-doesn%27t-work-with-Netbeans-6.5---Help%21-tp17583013p17583564.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

cowwoc | 1 Jun 11:13
Gravatar

Re: Tomcat6 doesn't work with Netbeans 6.5 - Help!


Ugh. Turns out this is a known problem!
http://www.nabble.com/NB6.1-and-Tomcat-6-td17551629.html

I hope this posts other people... the culprit turned out to be NOD32
anti-virus. It's "web access protection" intercepts communication to port
8080. To fix the problem go to Web Access Protection -> HTTP -> Web Browsers
-> find java.exe and mark an "X" (not a checkmark!) beside it.

Gili
--

-- 
View this message in context: http://www.nabble.com/Tomcat6-doesn%27t-work-with-Netbeans-6.5---Help%21-tp17583013p17583628.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Petr Dvorak | 1 Jun 12:04
Picon

Re: Help with changing the Netbeans Quallity Standards before the next release

A cannot agree more... Everyone can fill an issue with appropriate 
priority, everyone can vote for known issues. Voted issues are fixed 
with a higher priority. But many people just prefers complaining.

Please, guys, if you find some bug - control your anger, do not send NB 
to hell (immediately;)). Try to reproduce it and fill an issue with 
steps to reproduce. It is definitely more useful than to use "QA-How 
could you realease this - majorMalfunctionType" as a mail subject, or 
something...

In other words: Do not try to be irritating. Try to be helpful. And have 
a patience...

Petr D.

vince kraemer wrote:
> The "plan" for 6.5 is here: http://wiki.netbeans.org/NB65EngineeringPlan
>
> The quality criteria for 6.1 is archived here: 
> http://wiki.netbeans.org/NB61QualityCriteria
>
> The criteria for the 6.5 release is here: 
> http://wiki.netbeans.org/NB65QualityCriteria
>
> You will notice a couple things about these Quality Criteria documents...
>
> The focus is on issues, first, and votes.
>
> The best way to effectively "change" the NB quality standards is to:
> 1. know them.
> 2. use them.
>
>
> My advice as a user and developer of NetBeans: follow up on issues 
> that are important to you until they are resolved to your satisfaction.
>
> The very first thing you need to do is file an issue and make it clear 
> enough to be reproduced easily.
>
>

Angad Singh | 1 Jun 12:16
Picon

Netbeans Early Access for PHP on OpenSolaris 2008.05

I get the following error when I try to run the installer for Netbeans 
Early Access for PHP on OpenSolaris 2008.05:

# angad <at> opensolaris:~/Desktop# sh netbeans-6.1-ea-php-solaris-x86.sh
: command not found-solaris-x86.sh: line 1: [ZoneTransfer]

Any idea what´s wrong?

Petr Dvorak | 1 Jun 12:22
Picon

Re: Custom file extensions in Netbeans

Hi, sorry for the late reply, I studied for an exam...

If you are using some unix at work, you can try to check the permissions 
for the userdir (~/.netbeans). The state of IDE (including opened tabs) 
is stored there.

But what you can try to do first is to create a new userdir, then try to 
open some files and reopen NB with the same userdir. Here are the steps:

1. Start NB using "./netbeans --userdir ~/Desktop/ud1"
-> new folder with settings is stored under the folder ~/Desktop/ud1

2. Open some files, so that there are tabs
3. Close NB
4. Start NB using "./netbeans --userdir ~/Desktop/ud1" again
-> tabs should be in the same state as before, if not, it would be 
probably an issue

Note: Be careful! If you once start NB with a root account, it can cause 
troubles with access to some files, see: 
http://www.netbeans.org/issues/show_bug.cgi?id=134243 - will be fixed in 
Patch 2...

Petr D.

smokyboy wrote:
> I have NB 6.1 installed on two machines. On my home machine reopening the
> tabs works, on my work machine it doesn't. Seems like I am having some sort
> of general installation problem, perhaps I should try to reinstall
> everything. Could it be a problem with permissions of some files? Or maybe
> some config file got messed up.
> My about box shows build 200804211638 after last update.
>   

Ian Carter | 1 Jun 12:28
Picon

How to terminate a desktop app?

To try out some classes I've ben creating I've created a basic desktop
application.

When I run it from NetBeans and close it with the close window button [X] on
the window frame, the window closes but the application doesn't terminate.

I've added a WindowListener to catch the windowClosing event ...

public class MyTestView extends FrameView {

    public MyTestView(SingleFrameApplication app) {
        super(app);

        initComponents();

        // Force termination
        MyTestApp.getApplication().getMainFrame().addWindowListener(new
WindowAdapter() {
            @Override public void windowClosing(WindowEvent evt) {
                System.exit(0);
            }
        });

... but the event doesn't get fired.

So how is it done? I shall probably kick myself when you tell me (:?>).


Gmane