Radhika | 1 Mar 01:53
Picon

Re: What Database will you recommend ?


Check out  MySQL, it is now part of Sun's software portfolio. 
The link below has a demo ,  steps of connecting to a database from
NetBeans, using the MySQL editor to create tables, and exposing the tables
in a desktop application and the data as web services. 
http://www.netbeans.org/servlets/NewsItemView?newsItemID=1194

Teekay wrote:
> 
> God day!
> 
> I a trying to write a database application. I already have my database 
> (in ms access) which I used in a previous
> java IDE (before moving to netbeans).
> When I try to connect to this database in netbeans it tells me no schema.
> Ok in order to escape problems
> I decided to migrate from  access.
> 
> I want to use the suns netbeans database to create a fresh database. But I
> am not sure if this will be the
> simplest and easiest.
> What database willl you guys recommend for general desktop database
> application ?
> 
> Thanks
> Teekay
> 
> 
> 
> 
(Continue reading)

Bill Slack | 1 Mar 02:19
Picon
Favicon

Re: [Fwd: Re: Problem with the 'more' buttons on the properties sheet after adding UML markers]

Thanks for the update Peter,
Bill
----- Original Message -----
From: Peter Lam
Sent: Friday, February 29, 2008 12:53 PM
Subject: Re: [Fwd: Re: [nbusers] Problem with the 'more' buttons on the properties sheet after adding UML markers]

FYI. This problem has been fixed and integrated on Feb 20th in NB 6.1. I just verified with a set of reproducible steps in NB 6.0 to get this exception. Now the same steps in the latest build in NB 6.1 no longer produce this exception. Refer to issue 119335 for exact steps I added there.

The latest NB 6.1 build can be downloaded from the following link if interested.
http://bits.netbeans.org/netbeans/trunk/nightly/latest/

--Peter

Bill Slack wrote:
No, I was generating code for a project that has a matisse form; the add merge markers checkbox was clicked.
I'll add the steps to the bug report.
Bill

----- Original Message ----- From: "Karthik" <Karthikeyan.Rajeswaran <at> Sun.COM>
To: "NetBeans Users List" <nbusers <at> netbeans.org>
Sent: Wednesday, February 06, 2008 9:21 AM
Subject: Re: [Fwd: Re: [nbusers] Problem with the 'more' buttons on the properties sheet after adding UML markers]


Did you encounter this problem while reverse-engineering a Java project that had matisse forms?

Would it be possible for you to add the steps that lead to this problem to http://www.netbeans.org/issues/show_bug.cgi?id=119335 ?

regards,
karthik

-------- Original Message --------
Subject:     Re: [nbusers] Problem with the 'more' buttons on the properties sheet after adding UML markers
Date:     Tue, 05 Feb 2008 15:18:54 -0800
From:     Bill Slack <wslack <at> shaw.ca>
Reply-To:     nbusers <at> netbeans.org
To:     nbusers <at> netbeans.org



When Netbeans inserted the UML Marker, it changed the pre-init code to this, which, obviously, changed and corrupted the guarded block:

    /**
     *  This method is called from within the constructor to
     *       initialize the form.
     *       WARNING: Do NOT modify this code. The content of this method is
     *       always regenerated by the Form Editor.
     *       <editor-fold defaultstate="collapsed" desc="Generated Code">GEN-BEGIN:initComponents
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker ">
    // #[regen=yes,id=DCE.6EE9EE88-47E7-0631-86EA-5CD0787277E1]
    // </editor-fold>
    private void initComponents () {
.
.
.
   }
 I tried modifying and adding the required text, but it didn't have any affect.
I have reported the issue and asked for it to be reopened.
Thanks again for your help Karthik,
Bill

    ----- Original Message -----
    *From:* Karthik <mailto:Karthikeyan.Rajeswaran <at> Sun.COM>
    *To:* nbusers <at> netbeans.org <mailto:nbusers <at> netbeans.org>
    *Sent:* Tuesday, February 05, 2008 1:03 PM
    *Subject:* Re: [nbusers] Problem with the 'more' buttons on the
    properties sheet after adding UML markers

    The guarded block has disappeared!
    Did the guarded block disappear only for the initComponents block?
    If so, can you manually try adding //GEN-BEGIN:initComponents and
    //GEN-END:initComponents comments (by comparing it with a working form?)

    I think it happened when Netbeans inserted the UML markers.
    You may want to add your comments and the log file to 119335
    suggesting that it be reopened.

    regards,
    karthik

    Bill Slack wrote:
    The guarded block has disappeared!
    But I think it happened when Netbeans inserted the UML markers.
    Bill

        ----- Original Message -----
        *From:* Karthik <mailto:Karthikeyan.Rajeswaran <at> Sun.COM>
        *To:* nbusers <at> netbeans.org <mailto:nbusers <at> netbeans.org>
        *Sent:* Tuesday, February 05, 2008 10:39 AM
        *Subject:* Re: [nbusers] Problem with the 'more' buttons on
        the properties sheet after adding UML markers

        This seems to be a known issue
        (http://www.netbeans.org/issues/show_bug.cgi?id=119335) though
        the issue has been marked as not-reproducible:
            ...So, the "initComponents" guarded block is not found in
        the .java file. Do you see this guarded block (non-editable area
            around initComponents() method) in the source code? Did
        you edit this .java file in external editor? Any chance that
            you removed //GEN-BEGIN:initComponents and
        //GEN-END:initComponents comments using some external
        (=outside NetBeans) tool? ...

        regards,
        karthik

        Bill Slack wrote:
        Hi Karthik,
        Sorry for the delay and duplications.  My ISP went down
        almost at the same time as I sent my last message, so I guess
        there was a delay in the message being sent etc.
                 I have attached the exception stack trace as requested.
        Thanks for the help,
        Bill

            ----- Original Message -----
            *From:* Karthik <mailto:Karthikeyan.Rajeswaran <at> Sun.COM>
            *To:* nbusers <at> netbeans.org <mailto:nbusers <at> netbeans.org>
            *Sent:* Monday, February 04, 2008 5:05 PM
            *Subject:* Re: [nbusers] Problem with the 'more' buttons
            on the properties sheet after adding UML markers

            Can you post the exception stack trace from the error
            dialog? It should be available in the ide log file.

            regards,
            karthik

            Bill Slack wrote:
            When I click on any of the  '...' buttons in a property
            sheet, I get a flashing error message in the Status
            panel at the bottom of the IDE.
            When I click on it, an "Unexpected Error" message dialog
            is shown.
            Following through with the instruction presented, I
            finish up being told that the bug has been fixed and
            that I should update.  I have the latest update but the
            problem persists.
            It has been a few days since I last worked on the app,
            but I think that the last thing I did was add UML
            Markers.  The app was working fine prior to that action.
            Using Nb6.0
            Any suggestions?
            Thanks,
            Bill


Ms Linuz | 1 Mar 03:49
Picon

<VWP> Filter panel for table component

Ok, back for another jsf learning curve...
Since Netbeans using woodstock component, I'm interested in webuijsf:table component.
The tutorial in netbeans.org seems too much too basic for me to just show what this component
really capable of.
As I can see in latest woodstock release there is an example war file that shows how to make
filter in Table component but too bad I just can't find the tutorial ( read : plain simple tutorial for dummies ;-) ).
Currently we have sorting panel capabilities in webuijsf:table component which is nice.
But filter panel will make table more "functional" especially if the data in the table filled from large record
from a database.
Yes the filter panel can be replaced by a search page, but you know, filter panel is lot more nicer.

Anybody got some links or information ?

< if anybody doesn't know what kind of filter panel I'm talking about please download the woodstock
   example war file at https://woodstock.dev.java.net and take a look at table component >

Cheers !!!

ms.linuz

Ms Linuz | 1 Mar 03:59
Picon

Re: What Database will you recommend ?

I vote for MySQL.
More flexible in case you need to access the database from another application, or you need to create
another application using language other than Java and or using another IDE than Netbeans.
To make your migration easier there are lot of access to mysql migration and or converter
on the net. From free to commercial one. ( eg: http://www.bullzip.com/products/a2m/info.php )

2008/3/1, Radhika <radhika.gehant <at> sun.com>:

Check out  MySQL, it is now part of Sun's software portfolio.
The link below has a demo ,  steps of connecting to a database from
NetBeans, using the MySQL editor to create tables, and exposing the tables
in a desktop application and the data as web services.
http://www.netbeans.org/servlets/NewsItemView?newsItemID=1194





Teekay wrote:
>
> God day!
>
> I a trying to write a database application. I already have my database
> (in ms access) which I used in a previous
> java IDE (before moving to netbeans).
> When I try to connect to this database in netbeans it tells me no schema.
> Ok in order to escape problems
> I decided to migrate from  access.
>
> I want to use the suns netbeans database to create a fresh database. But I
> am not sure if this will be the
> simplest and easiest.
> What database willl you guys recommend for general desktop database
> application ?
>
> Thanks
> Teekay
>
>
>
>

>       ___________________________________________________________
> Rise to the challenge for Sport Relief with Yahoo! For Good
>
> http://uk.promotions.yahoo.com/forgood/
>


--
View this message in context: http://www.nabble.com/What-Database-will-you-recommend---tp15768908p15769032.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.


Ms Linuz | 1 Mar 04:01
Picon

Re: Netbeans on an Asus EEE PC ???

I think it depends on how large your project will be.
For a small project I think it will be sufficient.

2008/3/1, dtoffe <dtoffe <at> yahoo.com.ar>:

    Has somebody been able to install and run Netbeans on an EEE pc ??  My
guess is the default 512 Mb RAM is too low, but perhaps on 1-2 Gb RAM....
    Any experience there ??

Cheers,

Daniel


--
View this message in context: http://www.nabble.com/Netbeans-on-an-Asus-EEE-PC-----tp15768989p15768989.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.


Damian Carey | 1 Mar 04:55
Picon
Gravatar

Re: What Database will you recommend ?

On Sat, Mar 1, 2008 at 9:10 AM, Teekay <t.teekay <at> yahoo.co.uk> wrote:
> I want to use the suns netbeans database to create a fresh database. But I
> am not sure if this will be the
> simplest and easiest.

Personally I completely recommend Postgres. It is "enterprise ready",
it is not tied to Java, and (unlike MySQL) it is free to distribute to
your customers for desktop applications. Data integrity is strong, it
is built with data integrity as the main goal.  Rumors that it is slow
are misinformed.  We use it on small distributed desktop applications.
On PCs and it NEVER has a problem. Very trustworthy, robuust,
performant etc.

What are your needs? Data integrity? Speed? Ease of installation?
Free? etc etc etc  All databases have a "sweet spot", so database
choice depends on what you want the database to do.

Cheers,
-Damian

Charles Hand | 1 Mar 07:14

Editor cursor won't change


When editing code in the IDE, the cursor used to change from the I-bar cursor
to an arrow cursor when I moved the cursor over the editor margin (where the
line numbers are). Now it's an I-bar cursor all the time.

What's more, it depends on which project I have selected as the main
project. If I select one project as main project, and restart Netbeans, the
cursor behaves normally. But if I select the other project, and restart
Netbeans, the cursor is always an I-bar.

Weird, I know. I'd be happy to post any file that might shed light.
--

-- 
View this message in context: http://www.nabble.com/Editor-cursor-won%27t-change-tp15773057p15773057.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Nigel Leck | 1 Mar 06:54
Picon
Favicon

Re: What Database will you recommend ?

yeah, we use Postgres and it's never skipped a beat.

Damian Carey wrote:
On Sat, Mar 1, 2008 at 9:10 AM, Teekay <t.teekay <at> yahoo.co.uk> wrote:
I want to use the suns netbeans database to create a fresh database. But I am not sure if this will be the simplest and easiest.
Personally I completely recommend Postgres. It is "enterprise ready", it is not tied to Java, and (unlike MySQL) it is free to distribute to your customers for desktop applications. Data integrity is strong, it is built with data integrity as the main goal. Rumors that it is slow are misinformed. We use it on small distributed desktop applications. On PCs and it NEVER has a problem. Very trustworthy, robuust, performant etc. What are your needs? Data integrity? Speed? Ease of installation? Free? etc etc etc All databases have a "sweet spot", so database choice depends on what you want the database to do. Cheers, -Damian

-- Nigel Leck System Architect ST Software Pty Limited Level 1, 14 Rodborough Rd Frenchs Forest NSW 2086 National: 1300 78 73 78 International: +61 2 9975 4648 Fax: +61 2 9975 4652 www.stsoftware.com.au
Charles Hand | 1 Mar 07:32

Re: Editor cursor won't change


Aha! The cursor doesn't not change - it changes in the wrong place - it
changes about 80 pixels to the right of the margin where it's supposed to
change.

This is even weirder. When I set project A as main, and restart Netbeans,
the cursor changes correctly. When I set project B as main, and restart
Netbeans, the cursor changes in the wrong spot. The thing is, no matter
which project I set as main, the same files open in the same editor windows
in either case. So it's not related to the source files being edited, or the
position or configuration of the editor windows - all that is constant
between the normal case and the buggy case.
--

-- 
View this message in context: http://www.nabble.com/Editor-cursor-won%27t-change-tp15773057p15773062.html
Sent from the Netbeans - Users mailing list archive at Nabble.com.

Thomas Kellerer | 1 Mar 09:01
Picon

Re: What Database will you recommend ?

Damian Carey wrote on 01.03.2008 04:55:
> On Sat, Mar 1, 2008 at 9:10 AM, Teekay <t.teekay <at> yahoo.co.uk> wrote:
>> I want to use the suns netbeans database to create a fresh database. But I
>> am not sure if this will be the
>> simplest and easiest.
> 
> Personally I completely recommend Postgres. It is "enterprise ready",
> it is not tied to Java, and (unlike MySQL) it is free to distribute to
> your customers for desktop applications. Data integrity is strong, it
> is built with data integrity as the main goal.  Rumors that it is slow
> are misinformed.  We use it on small distributed desktop applications.
> On PCs and it NEVER has a problem. Very trustworthy, robuust,
> performant etc.
> 
> What are your needs? Data integrity? Speed? Ease of installation?
> Free? etc etc etc  All databases have a "sweet spot", so database
> choice depends on what you want the database to do.

I completely agree.

MySQL is - when using a non-transactional storage engine - a bit faster than 
Postgres, especially when it' mainly a read-only application. But when you start 
having concurrent reads and writes to the database, PG scales  a *lot* better 
than MySQL.

Oh and on the PG mailing list I read statemtens like "I have a small table with 
about 500 million rows"...
In the MySQL forum people tend to call a table with 10000 rows a big table.

And I really dislike MySQL's way of silently truncating data or ignoring (parts 
of) SQL statements without letting you know.

But I don't understand your comment that MySQL is tied to Java. I think it's 
more "tied" to PHP...

Thomas


Gmane