Pavel Pribyl | 1 Jul 01:06
Picon

Re: NB 6.1 Keymap for "replace"

Hello Charles.

Good question. The Replace dialog seems to me like one of the 
"unbindable" ones. The default shortcut is Ctrl+H, it is recommended by 
Java Look and Feel Guidelines ( 
http://java.sun.com/products/jlf/ed2/book/Appendix.A.html ).  There are 
other similar cases - for example you cannot change the Ctrl+C for Copy etc.

I guess it is designed this way (I mean it is not a bug). But I admit, 
it is a little bit confusing.

Regards

Pavel Pribyl
NetBeans QE | Tester

Charles Douglass napsal(a):
> I'm a new user of NetBeans, and while there is much to like, I'm 
> finding keybindings a bit frustrating.
>
> First -- how do you bind a key to the "replace" dialog?
>
> Chas Douglass
>

hanasaki jiji | 1 Jul 02:57
Picon

Re: maven project : runtime classes not found

Which option will result in showing up for the ide compile as well as
the WAR's lib directory?

On Mon, Jun 30, 2008 at 2:14 AM, Milos Kleint <Milos.Kleint <at> sun.com> wrote:
> hanasaki jiji wrote:
>>
>> built a pom.xml to make a WAR file (another that does a JAR)
>> this pom.xml has a dependency listed for vraptor - runtime
>> using @Component on a vraptor class and the fix imports cannot find the
>> class.
>> directly adding the import statement still gives a compile error
>>
>> is this a bug?  with a workaround?
>> is there something different I should be doing?
>>
>> netbeans 6.1 and 6.5 nightly 2008-06-29
>> under jdk 1.6 ubuntu
>>
>> Thanks.
>>
>
> runtime dependencies don't show up on project's compilation classpath. you
> need either a "compile" or "provided" scope for the dependency.
>
>
> Milos
>

Moser Ludwig | 1 Jul 07:12
Picon
Favicon

AW: Versioning -> SubVersion - not working...?

I set the PATH at user-specific level (this should be added for ME only…)

Somehow this does not work for netbeans!

When i add svn to systemwide PATH, it works fine.

Thanks for your help!

 

Von: Peter.Pis <at> Sun.COM [mailto:Peter.Pis <at> Sun.COM]
Gesendet: Montag, 30. Juni 2008 13:34
An: nbusers <at> netbeans.org
Betreff: Re: [nbusers] Versioning -> SubVersion - not working...?

 

Hi,

    please specify the folder where svn binaries exist (C:\Program Files\Subversion\bin)

Regards,
-Peter

P.S. http://www.netbeans.org/kb/60/ide/subversion.html

Moser Ludwig wrote:

Hello NG!

 

I try to integrate svn to my netbeans installation (i already installed tortoise svn to my computer, and checked the files to my repository in our network)

Now i installed svn (the one for netbeans) on my computer (vista 64 ultimate) and tested the installation

By cmd -> svn –version hurray! Its working!

When i go to netbeans -> versioning->subversion-> checkout it still tells me that svn command failed!

 

When i try to specify the svn home folder, and click ok, the window closes, but nothing happens…

 

Is this correct? But… how can i check out my files then???

Further… ALL menuepoints but checkout are greyed out!

 

Thanks in advance

Ludwig moser

 

 

Picon

Re: Subversion and Netbeans

UNSUBSCRIBE. How to unsubscribe?

Andrew Hughes | 1 Jul 08:30
Picon

Re: JavaFX not working and (JavaFX vs Swing)

nope, I definitely did this, but it still wont pass the Java1.6 constraint in the ant script netbeans generates.

On Sun, Jun 29, 2008 at 6:39 PM, Fabrizio Giudici <fabrizio.giudici <at> tidalwave.it> wrote:
It sounds that you just create the platform, but didn't tell to NB that you want to use it in your project. Did you explicitly select it in the "Project properties" panel?

For the rest, JavaFX addresses you problem by using the binding embedded in the language (bind keyword). It's very powerful and if you use the correct approach, you'll see that you can drop a lot of boilerplate code in comparison with analogous Swing applications.

On Jun 27, 2008, at 9:52 , Andrew Hughes wrote:

Hi All,

Firstly, I can't get JavaFX working in netbeans 6.1. I downloaded a fresh netbeans 6.1 then I downloaded+installed the appropriate JavaFX plugin(s). The JavaFX netbeans project I create won't build because it says it needs Java6 and the Java5 that ships with netbeans6 is not enough. Despite the fact there is nothing in JavaFX FAQ or anything listed anywhere that it needs Java6 and there is nothing in the netbeans website that mentions this either. Given that I now know this, I installed Java6. In an attempt to get JavaFX running on Java6, I did..

Project->Properties-> Libraries -> Manage Platforms -> and created "JavaFX SDK on Java6" and set this and the sources to the same.

But still can't tell it how to switch to Java6, it still wants to use 5. What am I missing - cheers.

--AH


ps. a random question...

I want to build up lots of reusable UI swing components, so ideally I want limited boilerplate code that links one UI object to another (such as action listeners/events button clicks eta) to not be exclusively bound to the UI components... is this something that JavaFX addresses? If I can create UI objects and then sitch and re-stich them together with JavaFX this sounds nice (from 10,000ft). I'd love to know if this is possible or not? Because swing requires a lot of boilerplate code and that normally makes the ui components not very re-usable and it also takes a lot of time to write/debug/refactor the code.


-- 
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
Fabrizio.Giudici <at> tidalwave.it - mobile: +39 348.150.6941



Andrew Hughes | 1 Jul 08:33
Picon

GUI Designer: Opening classes that extend javax.swing.*?

If I have....

public class ScreenFrame extends JFrame{
............
}

How can I open this in the GUI designer?

Thanks in advance.
--AH

Ben-Hur | 1 Jul 08:38
Picon

Re: Using Netbeans and JasperReports


Giulio Toffoli wrote:
> 
> 
> 
> 
> This code is a sample of how to use a JDBC connection and preview the 
> result in the JasperViewer window:
> 
> import net.sf.jasperreports.engine.*;
> import net.sf.jasperreports.engine.export.*;
> import net.sf.jasperreports.view.JasperViewer;
> import java.util.*;
> 
> public class JasperTest
> {
> 
>     private java.sql.Connection getConnection()
>     {
>         ... put your code to get the connection here ...
>     }
>    
>    
>     public static void main(String[] args)
>     {
>         String fileName = "/devel/examples/test.jasper";
>        
>         HashMap hm = new HashMap();
>         try
>         {
>             JasperPrint print = JasperFillManager.fillReport(fileName, 
> hm, getConnection() );
>             JasperViewer jasperViewer = new JasperViewer(print,false);
>                         jasperViewer.setVisible(true);
>            
>         }
>         catch (JRException e)
>         {
>             e.printStackTrace();
>             System.exit(1);
>         }
>         catch (Exception e)
>         {
>             e.printStackTrace();
>             System.exit(1);
>         }
>     }
> }
> 
> 
> hope this can help.
> 
> Giulio
> 
> 
> 

Hi guys! I'm new at Java and I want to ask, what codes do I need to put in
the section where you said to " ... put your code to get the connection here
...". Can you give a sample code so I can try and modify it myself. I'm
using a MySQL database by the way. Thanks in advance! --Ben
--

-- 
View this message in context: http://www.nabble.com/Using-Netbeans-and-JasperReports-tp15897993p18210178.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Gregor Kovac( | 1 Jul 08:52
Picon

Re: GUI Designer: Opening classes that extend javax.swing.*?

Hi!

You would also have to have a .form file where the layout is described.
NetBeans cannot just open a .java file and construct a form out of it.
Sadly.

Best regards,
	Kovi

Andrew Hughes pravi:
> If I have....
> 
> public class ScreenFrame extends JFrame{
> ............
> }
> 
> How can I open this in the GUI designer?
> 
> Thanks in advance.
> --AH

--

-- 
____________________________
|http://kovica.blogspot.com|
-----------------------------~-~-~-~-~-~-~-~-~-~-
|  In A World Without Fences Who Needs Gates?	|
|              Experience Linux.		|
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

tekman | 1 Jul 09:29
Picon

NetBeans maven - cannot run main class in war project


Hi !

I am trying out NetBeans 6.1 and I use the maven 2 ide plugin, since I have
some maven 2 enabled projects. It seems to work great in some ways. 
However, I haven't worked out how to run a simple main class. The class is
in a war project, and when I right click and hit run, the project is
compiled, and tests for this class is run. 

How can I run this class normally, without running the maven goals?
My main class is actually a jetty runner, which deploys the war project to
an internal jetty instance and opens a browser. Works perfectly in eclipse.

Thanks in advance!
--

-- 
View this message in context: http://www.nabble.com/NetBeans-maven---cannot-run-main-class-in-war-project-tp18210790p18210790.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Moser Ludwig | 1 Jul 09:30
Picon
Favicon

AW: Subversion and Netbeans

Click the unsubscribe button on the webpage?

 

Von: Jati Kalingga Praja [mailto:jati.k.praja <at> gmail.com]
Gesendet: Dienstag, 01. Juli 2008 07:29
An: nbusers <at> netbeans.org
Betreff: Re: [nbusers] Subversion and Netbeans

 

UNSUBSCRIBE. How to unsubscribe?


Gmane