Re: Session question

2022-06-23 Thread Bayless Kirtley
My apologies. I did post the question to the HSQL user list. I am also a 
Netbeans user (exclusively) and may have posted it here accidently.


Bayless


On 6/22/22 20:50, Guy Daniel wrote:

Hi Bayless,

HSQL is probably just storing everything in RAM, so unless you hand 
the same connection to the second class you may not see the data.


Just to test, try using a connection to a MariaDB instance or some SQL 
that stores onto the disk by default?


You could post code, but I think the answer to your question would be 
in the HSQL documentation - maybe ask at a forum where people are used 
to using HSQL?


You will find that this forum contains a large variety of devs with 
extensive experience in many areas, but it's main focus is on the 
inner workings and use of netbeans.


Thanks!

Guy


On 6/22/22 22:19, Bayless Kirtley wrote:
I have an application that could really use a local temporary table 
but I can't seem to make it work. One class creates and populates the 
table then passes the Connection to  another class that wants to use 
it. The second class sees the table but finds it empty. What am I 
doing wrong? I am using hsqldb 2.5.0 in an app that requires Java 8. 
My development system is Linux Mint 20.


Thanks

Bayless


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Session question

2022-06-22 Thread Bayless Kirtley
It is a fairly complex application but I will try to produce a smaller 
example to show some code. Of course, my luck is that the smaller set 
will probably work as expected. More tomorrow. Thanks for the suggestion.


Bayless


On 6/22/22 08:10, Amn wrote:


A little bit of code and a larger description of your solution would 
go a long way. Please try again 


On 2022-06-22 8:19 a.m., Bayless Kirtley wrote:
I have an application that could really use a local temporary table 
but I can't seem to make it work. One class creates and populates the 
table then passes the Connection to  another class that wants to use 
it. The second class sees the table but finds it empty. What am I 
doing wrong? I am using hsqldb 2.5.0 in an app that requires Java 8. 
My development system is Linux Mint 20.


Thanks

Bayless


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


--
*Using Fire Fox and Thunderbird.*
Developing for Android using Java, C/C++, HTM/CSS and SQLite as our 
platform has been exciting and most rewarding.

[ Ñ ]

<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=emailclient> 
	Virus-free. www.avg.com 
<http://www.avg.com/email-signature?utm_medium=email_source=link_campaign=sig-email_content=emailclient> 



<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Re: Session question

2022-06-22 Thread Bayless Kirtley
thanks for the suggestion, Gary. I was not committing. My understanding 
is that JDBC commits everything by default unless set otherwise. Anyway, 
I added a commit and still no success.


Bayless


On 6/22/22 12:12, Greenberg, Gary wrote:

Are you committing your changes?

-Original Message-
From: Bayless Kirtley 
Sent: Wednesday, June 22, 2022 5:19 AM
To: List, Netbeans 
Subject: Session question

I have an application that could really use a local temporary table but I can't 
seem to make it work. One class creates and populates the table then passes the 
Connection to  another class that wants to use it. The second class sees the 
table but finds it empty. What am I doing wrong? I am using hsqldb 2.5.0 in an 
app that requires Java 8. My development system is Linux Mint 20.

Thanks

Bayless


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FNETBEANS%2FMailing%2Blistsdata=05%7C01%7Cggreenbe%40visa.com%7Ca2550a9c81004b6c8ffd08da54498f77%7C38305e12e15d4ee888b9c4db1c477d76%7C0%7C0%7C637914972168873803%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=s8XeynwFM89Y%2BpVPYP3Zvpsvbh26zyeXdqjlb1bjsX8%3Dreserved=0


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Session question

2022-06-22 Thread Bayless Kirtley
I have an application that could really use a local temporary table but 
I can't seem to make it work. One class creates and populates the table 
then passes the Connection to  another class that wants to use it. The 
second class sees the table but finds it empty. What am I doing wrong? I 
am using hsqldb 2.5.0 in an app that requires Java 8. My development 
system is Linux Mint 20.


Thanks

Bayless


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



OT Anyone familiar with JPDFWriter?

2022-06-02 Thread Bayless Kirtley




-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: How to remove Maven from Netbeans 12.0

2021-11-19 Thread Bayless Kirtley
Thank you Mark. Show Details was the secret. Plugins showed 11 
installed, none of which was Maven. After clicking Show Details there 
were many more, including Maven and Gradle although Gradle was already 
grey. I deactivated Maven.


Thanks again

Bayless


On 11/18/21 7:09 PM, Mark A. Flacy wrote:

Greetings,

Try Tools -> Plugins -> Installed and then click on "Show details" .  Look for
Maven in the list and click the green check to make it go grey.   If you
loaded gradle support, you should turn that off as well.

I couldn't live without maven library resolution, so I don't know if this will
actually work.  You may have to restart NetBeans as well.



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: How to remove Maven from Netbeans 12.0

2021-11-18 Thread Bayless Kirtley
I have about 2 dozen total projects, all of which are ant projects and 
mostly old. I only have 5 projects open at this time and that is fairly 
common. the others are either dormant or very stable.


I did start a very simple "hello world" sort of maven project a few 
months ago when I thought I would have to learn it. I never did much 
with it and have long ago deleted it when I decided I didn't need maven 
after all. When I first startyed it, maven did build its local 
repository which took a very long time. I think I have seen it update 
that at least once since then.


I get the impression maven is checking on updates or something from the 
past but no way to determine what or why.


thanks for the suggestion

Bayless


On 11/18/21 5:51 PM, Eric Bresie wrote:
Was the project created as a Maven project?  Is so it may start up as 
such and may check on dependency updates to repositories.


Maybe as simple as recreate as Ant project and move source and ant 
files over.


On Thu, Nov 18, 2021 at 4:24 PM Bayless Kirtley <mailto:bk...@cox.net>> wrote:


I added Maven to my Netbeans 12.0 on Linux on advice that I needed to
have it. That turned out to be untrue. Ant serves my needs
perfectly so
I will be staying with it. Meanwhile Maven seems to be the culprit
that
slows down Netbeans startup. Before Maven it would start from scratch
very quickly, it seems like 15 or 20 seconds. Now it takes over a
minute, sometimes even longer. I think it might be updating its
repository or something. Meanwhile I have the same OS and Netbeans
on my
laptop with a much slower processor and disc and it comes up much
quicker than the desktop. I also have Netbeans 8.2 on the same
desktop
but without Maven and it still loads much quicker.

Is there a way to completely remove Maven from Netbeans? I can't even
find it in the list of plugins.

Thanks,

Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>

--
Eric Bresie
ebre...@gmail.com <mailto:ebre...@gmail.com>


How to remove Maven from Netbeans 12.0

2021-11-18 Thread Bayless Kirtley
I added Maven to my Netbeans 12.0 on Linux on advice that I needed to 
have it. That turned out to be untrue. Ant serves my needs perfectly so 
I will be staying with it. Meanwhile Maven seems to be the culprit that 
slows down Netbeans startup. Before Maven it would start from scratch 
very quickly, it seems like 15 or 20 seconds. Now it takes over a 
minute, sometimes even longer. I think it might be updating its 
repository or something. Meanwhile I have the same OS and Netbeans on my 
laptop with a much slower processor and disc and it comes up much 
quicker than the desktop. I also have Netbeans 8.2 on the same desktop 
but without Maven and it still loads much quicker.


Is there a way to completely remove Maven from Netbeans? I can't even 
find it in the list of plugins.


Thanks,

Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Cannot remove library from project

2021-06-13 Thread Bayless Kirtley
I think I found a better solution, for me anyway. I managed to reinstall 
Netbeans 8.2 and so far have reverted the one project that was causing a 
problem and everything now works as expected, including removing 
libraries as well as debugging libraries. Suddenly life is good again.


Having been retired almost 20 years now, I have limited my projects to 
Java and html. I will keep NB 12.0 for html since I recall it working 
better but all my Java will probably be going back to 8.2 as the need 
arises.


Long Live Ant.

Bayless


On 5/24/21 8:06 PM, Mark A. Flacy wrote:


No, it just means that I've never created a "sister project" that I 
would never want to use upon a different computer than the one upon 
which it was built.  I assume that if I make a library, I might want 
to share it and if I want to share it, I need to publish it somewhere 
(even to the same machine until I push it somewhere else).   I didn't 
always assume that, but personal usage pushed me to do that.



_My_ use cases aren't _your_ use cases and just because I can't see a 
reason to do *X* doesn't mean that no other humans can see a reason to 
do *X*.



I have 5 computers (well, 4 and one VM) within 6 feet of me as I write 
this;  if I've written a library that I find useful, I'd like it to be 
available on other machines in my network without having those 
machines recompile that library from scratch. That's why one of those 
computers is running a Nexus server to serve such libraries to any 
other machines that are running in my local network.


Just because I do things a certain way does not make that way "best", 
"optimal" or even "sane".



--

Mark A. Flacy

mfl...@verizon.net


On Monday, May 24, 2021 6:28:21 AM CDT Bayless Kirtley wrote:

> Does this mean that maven won't let me set a dependency on a sister

> project right here on the same computer?

>

> On 5/23/21 6:43 PM, Mark A. Flacy wrote:

> > Right-click on the project's Dependencies folder.  Add the maven

> > coordinates of the library in question and good things should happen.

> >

> > If the library you want to use isn't published with maven coordinates,

> > then

> > you will have a problem until you do that.  Please note that you can

> > publish stuff locally or to a Nexus server (as an example) of your 
own.


>

> -

> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org

> For additional commands, e-mail: users-h...@netbeans.apache.org

>

> For further information about the NetBeans mailing lists, visit:

> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Cannot remove library from project

2021-05-27 Thread Bayless Kirtley

Have to work on other stuff now but will look into Nexus in a few days.


On 5/24/21 8:06 PM, Mark A. Flacy wrote:


No, it just means that I've never created a "sister project" that I 
would never want to use upon a different computer than the one upon 
which it was built.  I assume that if I make a library, I might want 
to share it and if I want to share it, I need to publish it somewhere 
(even to the same machine until I push it somewhere else).   I didn't 
always assume that, but personal usage pushed me to do that.



_My_ use cases aren't _your_ use cases and just because I can't see a 
reason to do *X* doesn't mean that no other humans can see a reason to 
do *X*.



I have 5 computers (well, 4 and one VM) within 6 feet of me as I write 
this;  if I've written a library that I find useful, I'd like it to be 
available on other machines in my network without having those 
machines recompile that library from scratch. That's why one of those 
computers is running a Nexus server to serve such libraries to any 
other machines that are running in my local network.


Just because I do things a certain way does not make that way "best", 
"optimal" or even "sane".



--

Mark A. Flacy

mfl...@verizon.net


On Monday, May 24, 2021 6:28:21 AM CDT Bayless Kirtley wrote:

> Does this mean that maven won't let me set a dependency on a sister

> project right here on the same computer?

>

> On 5/23/21 6:43 PM, Mark A. Flacy wrote:

> > Right-click on the project's Dependencies folder.  Add the maven

> > coordinates of the library in question and good things should happen.

> >

> > If the library you want to use isn't published with maven coordinates,

> > then

> > you will have a problem until you do that.  Please note that you can

> > publish stuff locally or to a Nexus server (as an example) of your 
own.


>

> -

> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org

> For additional commands, e-mail: users-h...@netbeans.apache.org

>

> For further information about the NetBeans mailing lists, visit:

> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Cannot remove library from project

2021-05-24 Thread Bayless Kirtley
Does this mean that maven won't let me set a dependency on a sister 
project right here on the same computer?



On 5/23/21 6:43 PM, Mark A. Flacy wrote:

Right-click on the project's Dependencies folder.  Add the maven coordinates
of the library in question and good things should happen.

If the library you want to use isn't published with maven coordinates, then
you will have a problem until you do that.  Please note that you can publish
stuff locally or to a Nexus server (as an example) of your own.



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Cannot remove library from project

2021-05-23 Thread Bayless Kirtley
BTW, one should not have to manually edit files created by NB just to 
exercise an option that the IDE offers but for some strange reason has 
suddenly disabled. I have been a NB user since version 5.0 actually just 
before we got the GUI designer. I have loved it, even with its 
occasional quirks and burps. Some of these latest "features" are getting 
a little tiresome though.


Bayless


On 5/23/21 4:22 PM, Geertjan Wielenga wrote:
Look in the project.properties file in the nbproject folder and delete 
those references.


Gj

On Sun, 23 May 2021 at 23:18, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


Surely NB has not suddenly decided that I can no longer remove
libraries from an ANT project. There must be something wrong here
that displays but disables that option from any libraries on any
projects.


On 5/23/21 2:45 PM, Pieter van den Hombergh wrote:

The libraries are defined in a properties file in the nb project
folder. You can find and edit in the files view. You are also
advised to convert the project to a maven project. That way you
can future proof it.

Op zo 23 mei 2021 21:35 schreef Bayless Kirtley mailto:bk...@cox.net>>:

I have an old Java 1.8 project that needs a few updates. I
cannot remove
any of its libraries. The option is grayed out and Delete key
does
nothing. Just tried and this seems to be the case with all my
projects.
Cannot delete any libraries and most projects are using Java
11, if that
makes a difference. This comes up because I made a change in
one of the
libraries which did not appear to work so I tried to debug
and found
that the new code is skipped over in debug as if it were not
there. I
thought I would remove and reinstall the library but cannot.

I have tried restarting NB a couple of times with no change.
How can I
remove old libraries?

NB 12.0

Linux mint 20


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>



Re: Cannot remove library from project

2021-05-23 Thread Bayless Kirtley
I did that on the one project I need right now. It then let me add it 
but the source still does not correspond to the binary so cannot debug. 
Then I tried again to remove the library and the option was disabled again.


I tried with a small existing project to create as Maven project then 
copied source files to it. It uses that same library and I cannot seem 
to add it as a dependency. What is the secret for adding a dependency on 
a local library to a new Maven project?


bayless


On 5/23/21 4:22 PM, Geertjan Wielenga wrote:
Look in the project.properties file in the nbproject folder and delete 
those references.


Gj

On Sun, 23 May 2021 at 23:18, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


Surely NB has not suddenly decided that I can no longer remove
libraries from an ANT project. There must be something wrong here
that displays but disables that option from any libraries on any
projects.


On 5/23/21 2:45 PM, Pieter van den Hombergh wrote:

The libraries are defined in a properties file in the nb project
folder. You can find and edit in the files view. You are also
advised to convert the project to a maven project. That way you
can future proof it.

Op zo 23 mei 2021 21:35 schreef Bayless Kirtley mailto:bk...@cox.net>>:

I have an old Java 1.8 project that needs a few updates. I
cannot remove
any of its libraries. The option is grayed out and Delete key
does
nothing. Just tried and this seems to be the case with all my
projects.
Cannot delete any libraries and most projects are using Java
11, if that
makes a difference. This comes up because I made a change in
one of the
libraries which did not appear to work so I tried to debug
and found
that the new code is skipped over in debug as if it were not
there. I
thought I would remove and reinstall the library but cannot.

I have tried restarting NB a couple of times with no change.
How can I
remove old libraries?

NB 12.0

Linux mint 20


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>



Re: Cannot remove library from project

2021-05-23 Thread Bayless Kirtley
Surely NB has not suddenly decided that I can no longer remove libraries 
from an ANT project. There must be something wrong here that displays 
but disables that option from any libraries on any projects.



On 5/23/21 2:45 PM, Pieter van den Hombergh wrote:
The libraries are defined in a properties file in the nb project 
folder. You can find and edit in the files view. You are also advised 
to convert the project to a maven project. That way you can future 
proof it.


Op zo 23 mei 2021 21:35 schreef Bayless Kirtley <mailto:bk...@cox.net>>:


I have an old Java 1.8 project that needs a few updates. I cannot
remove
any of its libraries. The option is grayed out and Delete key does
nothing. Just tried and this seems to be the case with all my
projects.
Cannot delete any libraries and most projects are using Java 11,
if that
makes a difference. This comes up because I made a change in one
of the
libraries which did not appear to work so I tried to debug and found
that the new code is skipped over in debug as if it were not there. I
thought I would remove and reinstall the library but cannot.

I have tried restarting NB a couple of times with no change. How
can I
remove old libraries?

NB 12.0

Linux mint 20


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
<https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>



Cannot remove library from project

2021-05-23 Thread Bayless Kirtley
I have an old Java 1.8 project that needs a few updates. I cannot remove 
any of its libraries. The option is grayed out and Delete key does 
nothing. Just tried and this seems to be the case with all my projects. 
Cannot delete any libraries and most projects are using Java 11, if that 
makes a difference. This comes up because I made a change in one of the 
libraries which did not appear to work so I tried to debug and found 
that the new code is skipped over in debug as if it were not there. I 
thought I would remove and reinstall the library but cannot.


I have tried restarting NB a couple of times with no change. How can I 
remove old libraries?


NB 12.0

Linux mint 20


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: removing the "new project" support for Ant projects

2021-04-20 Thread Bayless Kirtley
Another +1 for me to not eliminating Ant support for new and existing 
programs. Ant works perfectly well for all my projects too.


Bayless Kirtley


On 4/20/21 2:10 PM, Marco Rossi wrote:

+1 also for me to not eliminating Ant support for new (or existing) projects.

Mark Reds


Il giorno 20 apr 2021, alle ore 20:08, Mitch Claborn  ha 
scritto:

+1 for not eliminating Ant support for new (or existing) projects. We've been 
using Ant for a long time, and it still works just fine for us, so there is no 
payback in converting to Maven.


Mitch

On 4/20/21 12:10 PM, Lisa Ruby wrote:

For those of you who have used Maven for a long time it may seem simple and 
straightforward, but for those of us who haven't it's not. I've struggled to 
try and understand it and figure out how to use it for my software project and 
gave up. And it's a huge amount of overhead, extra disk space usage, and more 
bits and pieces to keep track of that isn't justifiable for small simple 
projects. ANT works just fine for me, and I will keep using it for as long as I 
possibly can. I need to focus my time on getting my software out, not on the 
tools I have to use to do it.
Lisa
On 4/20/2021 10:00 AM, Geertjan Wielenga wrote:

I agree, the Ant-based project creation should be removed and I disagree that 
there should be any kind of conversion between Ant and Maven -- that simply 
will never work and we'll spend the rest of our days fixing bugs in that. To 
convert from Ant to Maven: create a new Maven project and copy the Java source 
files from your Ant project into it.

Gj

On Tue, Apr 20, 2021 at 6:58 PM mailto:pszud...@throwarock.com>> wrote:

Honestly, I think NB should have an internal conversation about
removing the "new project" support for Ant projects, while still
being able to open existing ones. It just confuses a lot of people
if they're not going to be supported.

I agree, if and ONLY if you provide at least a rudimentary way to
convert ANT projects to Maven projects.   I have been struggling
with this issue too long.  I have hundreds of Ant based projects
that I would love to turn over immediately to Maven... but I can't
, am struggling, and haven't coded a darn line in two months...  I
used to code 10 hours a day ... and now... embarrassed by my
inability to convert.,.

I exaggerate a bit, I still code in "Old" Netbeans 8.2, but I know
the days are numbered...



On 2021-04-20 08:23, Will Hartung wrote:


On Mon, Apr 19, 2021 at 12:55 AM Wayne Gemmell | Connect
mailto:wa...@connect-mobile.co.za>>
wrote:

Is the perception that nobody does Maven EAR's anymore or
that nobody uses EARs? I have a web app that has given me no
shortage of issuse with ant.
I'm trying to move it to Maven. If nobody is using maven then
I need to move to something else. If nobody is using EAR's
anymore then I'm pretty stuck figuring out this Maven issue.

Well, it's several things.
EARs are less popular because their necessity has been greatly
reduced. Session beans can be placed in WARs now, so for many use
cases, a WAR is completely adequate to the task.
However, it's not suitable for all use cases.
Notably, MDBs can not be deployed in WARs. But only as an EJB
either deployed standalone, or bundled within an EAR.
With the hue and cry over micro services and "down with the
monolith", just the idea of a large application bundled in a EAR
is falling out of favor.
Also, there's a history of advocacy underlying this. Sun used
NetBeans as a mechanism to advocate for Java and Java EE. It
behooved them to have something like NetBeans to make Java EE
development easier. So, it was important for NetBeans to have
really first class Java EE support. Bundling the Java EE wizards
and templates along with Glassfish all helped promote that.
Of course, now, with the great Java Diaspora out of Oracle, the
goals and drivers are different.
For your project, if all you have is a web app and some session
beans, then a simple WAR file is good to go. The Ant projects
seem to essentially be deprecated now, so I would not rely on
those for anything. If practical, especially if your project is
young, I would migrate it to Maven. The Maven WAR is a pretty
simple project and seems to work ok. Maven isn't going away any
time soon, Gradle, it's primary competitor, doesn't really have
the traction to overcome it yet, and it's been going for some
time. If nothing else, the pom.xml file has become a de facto
portable project format if, for nothing else, to capture
dependencies.
Honestly, I think NB should have an internal conversation about
removing the "new project" support for Ant projects, while still
being able to open existing ones. It just confuses a lot of
people if they'r

Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley

Looks like I am running open jdk 11 rather than 14



On 12/26/20 7:40 AM, Geertjan Wielenga wrote:

Strange. Well, if it works, there’s no problem that needs to be fixed.

Gj

On Sat, 26 Dec 2020 at 14:39, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


No.


On 12/26/20 7:37 AM, Geertjan Wielenga wrote:

Is there another character at the start of that line?

Gj

On Sat, 26 Dec 2020 at 14:35, Bayless Kirtley mailto:bk...@cox.net>> wrote:

That's very interesting. I just checked my netbeans.conf file
and it shows

netbeans_jdkhome="/usr"

I am running Netbeans 12.0 on Mint 20.0 and I don't have any
problems with it.

Bayless


On 12/26/20 3:18 AM, Owen Thomas wrote:

No. Now that you mention it, the value doesn't seem
reasonable to me either. So, I changed it to
/usr/lib/jvm/java-14-openjdk-amd64 and the problems go away.
Thanks Geertjan - hopefully that's the end of that.

I'm sure I just downloaded and installed NetBeans without
thinking too hard, so I don't know how that could have been set.

On Sat, 26 Dec 2020 at 19:55, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

netbeans_jdkhome="/usr"

That's what I see in your file above and that can't be
right, can it?

Gj


On Sat, Dec 26, 2020 at 8:19 AM Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

Sure Geertjan, here is netbeans.conf from
~/netbeans-12.2/netbeans/etc which is the default
directory in which NetBeans was installed.

On Sat, 26 Dec 2020 at 16:37, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Can you send your netbeans.conf file here so we
can see what is in there?

Gj

On Sat, 26 Dec 2020 at 06:10, Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

On Mon, 30 Nov 2020 at 19:32, Peter Hull
mailto:peterhul...@gmail.com>> wrote:

I would check:
1. Does your Java platform setup look
reasonable? (in Tools | Java Platforms )
2. Does this error occur for a new
project or just existing ones? (e.g. set
up a new "Java with Ant" application)
I think I've seen something like this
before and it was down to the Java
platform configuration.


Hello again. Having acquired my new laptop,
I am setting it up and have encountered the
same problem that I was having when I
earlier installed NetBeans 12.2 on another
computer. The other was, and the new one is
running Ubuntu 20.04.

I tried to create a new project, and I found
that the error was also occurring; namely
that java.lang could not be found on almost
every line of source code.

When I look at the Java Platforms dialogue
as advised by Peter, it presents two
entries: "Java 14" and "Java 14 (Default)".
The first entry looks fine, but the second
one appears to be amiss because as the
attached screenshot shows that it is missing
apparent details. The remove option also
appears to be disabled, so I'm currently at
a loss. How do I get rid of this second entry?

  Owen.


-
To unsubscribe, e-mail:
users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans
mailing lists, visit:

https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley

No.


On 12/26/20 7:37 AM, Geertjan Wielenga wrote:

Is there another character at the start of that line?

Gj

On Sat, 26 Dec 2020 at 14:35, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


That's very interesting. I just checked my netbeans.conf file and
it shows

netbeans_jdkhome="/usr"

I am running Netbeans 12.0 on Mint 20.0 and I don't have any
problems with it.

Bayless


On 12/26/20 3:18 AM, Owen Thomas wrote:

No. Now that you mention it, the value doesn't seem reasonable to
me either. So, I changed it to /usr/lib/jvm/java-14-openjdk-amd64
and the problems go away. Thanks Geertjan - hopefully that's the
end of that.

I'm sure I just downloaded and installed NetBeans without
thinking too hard, so I don't know how that could have been set.

On Sat, 26 Dec 2020 at 19:55, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

netbeans_jdkhome="/usr"

That's what I see in your file above and that can't be right,
can it?

Gj


On Sat, Dec 26, 2020 at 8:19 AM Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

Sure Geertjan, here is netbeans.conf from
~/netbeans-12.2/netbeans/etc which is the default
directory in which NetBeans was installed.

On Sat, 26 Dec 2020 at 16:37, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Can you send your netbeans.conf file here so we can
see what is in there?

Gj

On Sat, 26 Dec 2020 at 06:10, Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

On Mon, 30 Nov 2020 at 19:32, Peter Hull
mailto:peterhul...@gmail.com>> wrote:

I would check:
1. Does your Java platform setup look
reasonable? (in Tools | Java Platforms )
2. Does this error occur for a new project or
just existing ones? (e.g. set up a new "Java
with Ant" application)
I think I've seen something like this before
and it was down to the Java platform
configuration.


Hello again. Having acquired my new laptop, I am
setting it up and have encountered the same
problem that I was having when I earlier
installed NetBeans 12.2 on another computer. The
other was, and the new one is running Ubuntu 20.04.

I tried to create a new project, and I found that
the error was also occurring; namely that
java.lang could not be found on almost every line
of source code.

When I look at the Java Platforms dialogue as
advised by Peter, it presents two entries: "Java
14" and "Java 14 (Default)". The first entry
looks fine, but the second one appears to be
amiss because as the attached screenshot shows
that it is missing apparent details. The remove
option also appears to be disabled, so I'm
currently at a loss. How do I get rid of this
second entry?

  Owen.


-
To unsubscribe, e-mail:
users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans
mailing lists, visit:

https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Netbeans 12.1: Cannot access java.lang?

2020-12-26 Thread Bayless Kirtley

That's very interesting. I just checked my netbeans.conf file and it shows

netbeans_jdkhome="/usr"

I am running Netbeans 12.0 on Mint 20.0 and I don't have any problems 
with it.


Bayless


On 12/26/20 3:18 AM, Owen Thomas wrote:
No. Now that you mention it, the value doesn't seem reasonable to me 
either. So, I changed it to /usr/lib/jvm/java-14-openjdk-amd64 and the 
problems go away. Thanks Geertjan - hopefully that's the end of that.


I'm sure I just downloaded and installed NetBeans without thinking too 
hard, so I don't know how that could have been set.


On Sat, 26 Dec 2020 at 19:55, Geertjan Wielenga 
<mailto:geertjan.wiele...@googlemail.com>> wrote:


netbeans_jdkhome="/usr"

That's what I see in your file above and that can't be right, can it?

Gj


On Sat, Dec 26, 2020 at 8:19 AM Owen Thomas
mailto:owen.paul.tho...@gmail.com>>
wrote:

Sure Geertjan, here is netbeans.conf from
~/netbeans-12.2/netbeans/etc which is the default directory in
which NetBeans was installed.

On Sat, 26 Dec 2020 at 16:37, Geertjan Wielenga
mailto:geertjan.wiele...@googlemail.com>> wrote:

Can you send your netbeans.conf file here so we can see
what is in there?

Gj

On Sat, 26 Dec 2020 at 06:10, Owen Thomas
mailto:owen.paul.tho...@gmail.com>> wrote:

On Mon, 30 Nov 2020 at 19:32, Peter Hull
mailto:peterhul...@gmail.com>>
wrote:

I would check:
1. Does your Java platform setup look reasonable?
(in Tools | Java Platforms )
2. Does this error occur for a new project or just
existing ones? (e.g. set up a new "Java with Ant"
application)
I think I've seen something like this before and
it was down to the Java platform configuration.


Hello again. Having acquired my new laptop, I am
setting it up and have encountered the same problem
that I was having when I earlier installed NetBeans
12.2 on another computer. The other was, and the new
one is running Ubuntu 20.04.

I tried to create a new project, and I found that the
error was also occurring; namely that java.lang could
not be found on almost every line of source code.

When I look at the Java Platforms dialogue as advised
by Peter, it presents two entries: "Java 14" and "Java
14 (Default)". The first entry looks fine, but the
second one appears to be amiss because as the attached
screenshot shows that it is missing apparent details.
The remove option also appears to be disabled, so I'm
currently at a loss. How do I get rid of this second
entry?

  Owen.


-
To unsubscribe, e-mail:
users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail:
users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing
lists, visit:

https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Java programs run in Netbeans but not outside

2020-08-31 Thread Bayless Kirtley
Thanks to all who suggested Netbeans 12.0. I finally found time from 
other projects to install it and the problem is now resolved.


Bayless


On 8/17/20 11:36 AM, Gianluca Ruggero wrote:

Hi Bayless,
I have had the same problem in Netbeans 11 with all my ant based 
projects created with Netbeans 8.2.
But with Netbeans 12 seems resolved. I've successfully built my ant 
projects and the dist folder has been created correctly.


Gianluca


Il giorno dom 16 ago 2020 alle ore 23:26 Bayless Kirtley 
mailto:bk...@cox.net>> ha scritto:


Thanks guys. I'm old and retired and have used Netbeans with ant
since
version 5.0. I still maintain a couple of charity applications for
them
so this is important. Suddenly it stops including the lib
directory. I
have tried adding the lib directory to the dist directory but still
nothing. The jar file just goes to lunch. Something about
compiling or
building the executable doesn't seem to recognize the libraries.

To solve a problem for a food pantry (charity project) I had to
revert
to an older version of Linux on a questionable disk where Netbeans
8.1
with Java 1.8 still works. I don't see that as a long term solution
though as the disk is too undependable.

A few weeks ago I thought I saw a related reference here but
failed to
save it as I didn't know I had a problem at the time. Can anyone
recall
that or explain it again please?

Bayless

On 8/16/20 1:42 AM, Mark Eggers wrote:
> I do something similar and then package up everything as a zip
file or
> tar.gz with the assembly plugin.
>
> Something like this:
>
> 
>              
> org.apache.maven.plugins
> maven-assembly-plugin
>                  2.6
>                  
> src/main/assembly/assembly.xml
>                  
>              
>
> And the assembly.xml file (leaving out the schema for brevity):
> 
> 
>      bin
>      
>          tar.gz
>          zip
>      
> false
> false
>      
>          
>              target
> 
>              
>                  *.jar
>                  lib/
>              
>          
>      
> 
>
> Then, mvn package followed by mvn assembly:single gives me a
tar.gz and
> a zip file containing the correct structure. I can ship that around,
> unpack it, and run the program from the command line with:
>
> java -jar ./jarname.jar
>
    > Works for me.
>
> . . . just my two cents
> /mde/
>
> On 8/15/2020 9:07 PM, Bradley Willcott wrote:
>> Hi Bayless,
>>
>> Are you using an Ant build or Maven?  If Maven, have a look at
>> "maven-jar-plugin" and "maven-dependency-plugin". Here is an
example of
>> both from one of my projects:
>>
>>      
>>      
>>      
>> org.apache.maven.plugins
>> maven-jar-plugin
>>      3.2.0
>>      
>>      
>>      
>> true
>> libs/ <<===  Important
>> org.markdownj.cli.Main
>> true
>>
true
>>      
>>      
>>      
>>      
>>      
>> org.apache.maven.plugins
>> maven-dependency-plugin
>>      3.1.1
>>      
>>      
>> copy-dependencies
>> prepare-package
>>      
>> copy-dependencies
>>      
>>      
>> runtime
>> test
>>      
>> ${project.build.directory}/libs
>> <<===  Important
>>      
>>      
>>      
>>      
>>      
>>      
>>      
>>
>> Of course, the "<<===  Important" text is not part of the POM text.
>>
>> All you need to do then is copy the 'libs' directory to the same
>> directory you install the 'jar' file to, and then it should work a
>> charm.  Does for me.
>>
>> Brad.
>>
>> On 15/8/20 8:13 pm, Bayless Kirtley wrote:
>>> I recently upgraded from Netbeans 8.1 to 11.1 and due to prob

Java programs run in Netbeans but not outside

2020-08-15 Thread Bayless Kirtley
I recently upgraded from Netbeans 8.1 to 11.1  and due to problems with 
java 8 I also went to 11. I have been working on some existing projects 
and everything works fine from within Netbeans. When I try to deploy 
though, it seems that Netbeans is no longer including the lib directory 
in the dist directory and the programs will not run. Even when I just 
replace the jar file in the dist directory, leaving the lib directory as 
it was, the programs still will not run. What do I need to do to correct 
this situation?


Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: What is GLib and GtkWidget?

2020-05-26 Thread Bayless Kirtley
Thanks to your suggestion Ty, I thin I have solved the problem. I 
changed one old project to Java 11 and it still seems to run all right 
and I don't get those errors. Apparently there is something missing or 
messed up in Open JDK 8. I suspect the remaning projects will also be 
all right with java 11 and will proceed along those lines.


Thanks Bayless


On 5/23/20 11:42 AM, Ty Young wrote:


On 5/13/20 9:03 AM, Bayless Kirtley wrote:
I'm still getting multiple error messages whenever I run a Java 
project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are 
samples of the messages.


(java:3065): GLib-GObject-WARNING **: 08:52:31.588: 
../../../../gobject/gsignal.c:1253: unable to lookup signal 
"window-state-event" of unloaded type 'GtkWidget'


(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588: 
g_signal_add_emission_hook: assertion 'signal_id > 0' failed


(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from 
'GtkToplevelAccessible' to 'JawToplevel'


That last one repeats over and over. I have never knowingly used 
GLib, GtkWidget or JawTopLevel. What is going on here?


Bayless



TL;DR:


Swing/AWT/JavaFX aren't magically cross-platform: they have to do 
basic integration with each underlying platform's UI API. 
GLib/GTKGtkWidget are a dependency/component of GTK. GTK is the major 
Linux UI API used by various desktops and applications.



What seems to be happening here is that something broke in that 
integration layer(bindings), which allow Java to communicate with GTK, 
is broken somehow. What I don't understand is why it's only happening 
when running a project, Netbeans probably shouldn't be running either.



I wonder, did you install updates without rebooting? That tends to 
introduce issues like this.



Otherwise it might be Linux distros packaging something wrong, as 
others have suggested. Maybe try installing and using Java 11 instead?









-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: What is GLib and GtkWidget?

2020-05-23 Thread Bayless Kirtley
Thanks for the education Ty. I now understand the Glib is necessary and 
not something Netbeans has introduced. It does seem strange that the 
programs still seem to run properly and display just fine. Maybe I'll 
try to reinstall Glib then.


Bayless


On 5/23/20 11:42 AM, Ty Young wrote:


On 5/13/20 9:03 AM, Bayless Kirtley wrote:
I'm still getting multiple error messages whenever I run a Java 
project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are 
samples of the messages.


(java:3065): GLib-GObject-WARNING **: 08:52:31.588: 
../../../../gobject/gsignal.c:1253: unable to lookup signal 
"window-state-event" of unloaded type 'GtkWidget'


(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588: 
g_signal_add_emission_hook: assertion 'signal_id > 0' failed


(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from 
'GtkToplevelAccessible' to 'JawToplevel'


That last one repeats over and over. I have never knowingly used 
GLib, GtkWidget or JawTopLevel. What is going on here?


Bayless



TL;DR:


Swing/AWT/JavaFX aren't magically cross-platform: they have to do 
basic integration with each underlying platform's UI API. 
GLib/GTKGtkWidget are a dependency/component of GTK. GTK is the major 
Linux UI API used by various desktops and applications.



What seems to be happening here is that something broke in that 
integration layer(bindings), which allow Java to communicate with GTK, 
is broken somehow. What I don't understand is why it's only happening 
when running a project, Netbeans probably shouldn't be running either.



I wonder, did you install updates without rebooting? That tends to 
introduce issues like this.



Otherwise it might be Linux distros packaging something wrong, as 
others have suggested. Maybe try installing and using Java 11 instead?









-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: What is GLib and GtkWidget?

2020-05-23 Thread Bayless Kirtley
Thanks for the answer Neil. At least now I know to look elsewhere, maybe 
reinstall Glib?


Bayless


On 5/23/20 11:13 AM, Neil C Smith wrote:



On Sat, 23 May 2020, 16:57 Bayless Kirtley, <mailto:bk...@cox.net>> wrote:


On googling, I find that  GTK is a tool kit that I have never
intentionally used for anything. It also relates to graphical
interfaces for C programs.

It's also used by OpenJDK for the native look and feel on Linux. This 
has nothing specifically do with NetBeans. Sounds like it could be 
another issue with bad Java packaging with Ubuntu though.


Best wishes,

Neil



Re: What is GLib and GtkWidget?

2020-05-23 Thread Bayless Kirtley
On googling, I find that  GTK is a tool kit that I have never 
intentionally used for anything. It also relates to graphical interfaces 
for C programs. My programs are all 100% Java, including any database 
engines. Is this something that Netbeans secretly used at some time but 
no longer supports? If so then how to I remove it from older code? It 
doesn't seem logical for Netbeans updates to destroy working Java programs.


Bayless


On 5/13/20 3:39 PM, Geertjan Wielenga wrote:

What did you find when you googled some of these error messages?

Gj

On Wed, 13 May 2020 at 22:25, Bayless Kirtley <mailto:bk...@cox.net>> wrote:


Here is another new error message from running an old Java program
under
11.1 that always worked under 8.1. This seems related but I don't
know
what atk is.


** (java:4814): WARNING **: 15:13:57.601: jaw_impl_get_instance
called
from jaw_thread. If you are running a screen reader, this is expected
If you are not running a screen reader, please report this warning to
the java-atk-wrapper package, explaining how to reproduce this warning


On 5/13/20 9:03 AM, Bayless Kirtley wrote:
> I'm still getting multiple error messages whenever I run a Java
> project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These
are
> samples of the messages.
>
> (java:3065): GLib-GObject-WARNING **: 08:52:31.588:
> ../../../../gobject/gsignal.c:1253: unable to lookup signal
> "window-state-event" of unloaded type 'GtkWidget'
>
> (java:3065): GLib-GObject-CRITICAL **: 08:52:31.588:
> g_signal_add_emission_hook: assertion 'signal_id > 0' failed
>
> (java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast
from
> 'GtkToplevelAccessible' to 'JawToplevel'
>
> That last one repeats over and over. I have never knowingly used
GLib,
> GtkWidget or JawTopLevel. What is going on here?
>
> Bayless
>
>
>
>
-
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
> For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: users-h...@netbeans.apache.org
<mailto:users-h...@netbeans.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: What is GLib and GtkWidget?

2020-05-13 Thread Bayless Kirtley
Here is another new error message from running an old Java program under 
11.1 that always worked under 8.1. This seems related but I don't know 
what atk is.



** (java:4814): WARNING **: 15:13:57.601: jaw_impl_get_instance called 
from jaw_thread. If you are running a screen reader, this is expected
If you are not running a screen reader, please report this warning to 
the java-atk-wrapper package, explaining how to reproduce this warning



On 5/13/20 9:03 AM, Bayless Kirtley wrote:
I'm still getting multiple error messages whenever I run a Java 
project under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are 
samples of the messages.


(java:3065): GLib-GObject-WARNING **: 08:52:31.588: 
../../../../gobject/gsignal.c:1253: unable to lookup signal 
"window-state-event" of unloaded type 'GtkWidget'


(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588: 
g_signal_add_emission_hook: assertion 'signal_id > 0' failed


(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from 
'GtkToplevelAccessible' to 'JawToplevel'


That last one repeats over and over. I have never knowingly used GLib, 
GtkWidget or JawTopLevel. What is going on here?


Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



What is GLib and GtkWidget?

2020-05-13 Thread Bayless Kirtley
I'm still getting multiple error messages whenever I run a Java project 
under Netbeans 11.1 on Linux Mint 19.3, OpenJDK 8. These are samples of 
the messages.


(java:3065): GLib-GObject-WARNING **: 08:52:31.588: 
../../../../gobject/gsignal.c:1253: unable to lookup signal 
"window-state-event" of unloaded type 'GtkWidget'


(java:3065): GLib-GObject-CRITICAL **: 08:52:31.588: 
g_signal_add_emission_hook: assertion 'signal_id > 0' failed


(java:3065): GLib-GObject-WARNING **: 08:52:33.532: invalid cast from 
'GtkToplevelAccessible' to 'JawToplevel'


That last one repeats over and over. I have never knowingly used GLib, 
GtkWidget or JawTopLevel. What is going on here?


Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Apache NetBeans 11.3

2020-05-13 Thread Bayless Kirtley
I probably forgot to mention, these were all originally ant projects and 
I have left them that way.


Bayless


On 5/13/20 12:28 AM, Emilian Bold wrote:
Might be your old Maven NBM modules perhaps? I think you can try to 
create a new Maven-based NBM and it will open. See how they pom.xml 
files differ.


--emi


On Tue, May 12, 2020 at 9:43 PM Enciu Petre 
mailto:petre.en...@vesta-system.com>> 
wrote:


Hello

Apache netbeans 11.3 does not support nbm packaging.

Every module having nbms packaging are unloadable in this version.

Thanks

LogoVestaTranspa1009.png



*/ENCIU/* Petre



Ingénieur R

Société Vesta – System



http://www.vesta-system.com

(



+40 724 697 577

*



petre.en...@vesta-system.com

<mailto:petre.en...@vesta-system.com?subject=Demande%20d'info%20vesta-system.com>

Visiter aussi



http://www.cades-solutions.com



Re: Netbeans long pauses

2020-05-12 Thread Bayless Kirtley

I'll try 11.3 then.

Bayless


On 5/11/20 9:08 PM, Laszlo Kishalmi wrote:

Try with NetBeans 11.3. 11.1 is not supported any more.


On 5/11/20 6:04 PM, Bayless Kirtley wrote:
Surely there is a better answer than that. I just spent a week 
getting everything running like I want. Everything except Netbeans 
works perfectly, including all my Java programs. I really like the 
new desktop too. Surely Netbeans should work with the currently most 
popular distro of Linux.


Bayless


On 5/11/20 3:34 PM, John G. Weed wrote:
I had this problem and got so frustrated that I eventually moved off 
of Mint entirely. I now run Ubuntu. If I ran Netbeans and forgot to 
exit the application before logging off, I was almost 100% 
guaranteed that I wold have to reboot the computer to get back in. 
There wasn't a single day that wouldn't require a reboot from a hung 
system. Netbeans and Mint are allergic to each other for some 
reason. Best I could figure was a Java problem. It all was for the 
best anyway, as Ubuntu is much more stable and after 13 months I've 
not had a Netbeans required reboot once. Bottom line, migrate off of 
Mint


Sincerely,

John .G Weed
Sr. Systems Architect/Programmer Analyst @ Cicero Systems, LLC
*"Reason. Resolve. Respond"*
(571) 277-9998
www.linkedin.com/in/john-weed-28378a161

*"Steal a man's reputation for probity, and the more shrewd and 
clever he is, the more hated and mistrusted he'll become." *Marcus 
Tullius Cicero (106BC-43BC)


*Confidentiality Notice:* The information contained in this 
electronic transmission is privileged and confidential and is 
intended only for the recipient(s) named above. If the reader of 
this message is not the recipient(s) named above, or an authorized 
agent of such recipient(s) responsible for delivering it to the 
intended recipient(s), you are hereby notified that you have 
received this electronic transmission in error. Any review, 
dissemination, distribution, or copying of this electronic 
transmission including any attachments is strictly prohibited. If 
you have received this electronic transmission in error, please 
notify the sender immediately.


On Mon, May 11, 2020, at 16:26, Bayless Kirtley wrote:
After installing Netbeans 11.1 on Linux Mint 19.3, it has a nasty 
habit
of suddenly locking up. It seems to be the whole computer. This 
happens

pretty regularly when trying to do a simple refactor, renaming a
variable. It also happens but less often when just editing or typing
code. These pauses always seem to last between 30 and 60 seconds. This
really makes it virtually unusable. On the refactor, it always happens
even before accepting the new name so it has not actually started
renaming yet. These are small Java desktop projects of a dozen or so
classes and usually only one or two projects open at a time so no more
than 2 or 3000 lines. I assume I have something wrong but no idea 
where

to start looking. Any help will be greatly appreciated.

Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Netbeans long pauses

2020-05-12 Thread Bayless Kirtley

Glad to hear another Mint user with no problems John.

Typically I only have 1 or 2 projects open at a time. Yesterday it was 
only 1 and a small project of about a dozen classes, none of which had 
more than a few hundred lines. The whole thing finishes clean and build 
in 1 - 2 seconds. I am retired so don't have to keep a bunch of balls 
bouncing. When working on Netbeans I rarely have other things going on.


It looks like 11.1 is a real memory hog compared to 8.1 that I have been 
using.  But I have 8 GB memory on a quad core computer so I don't think 
that is the problem.


Bayless


On 5/12/20 12:56 AM, John Lavelle wrote:
I use Mint and don't have the lockup problem. Therefore, it may be 
another application you are using on the system.


I have noticed that, when checking for external changes, NetBeans 11.3 
can slow down considerably especially if you have multiple large 
projects open. The more projects open and the larger they are, the 
slower NetBeans becomes during the check. I didn't notice this with 
earlier versions of NetBeans (8.2, & 9). You may want to try and limit 
the number of open projects you have in NetBeans and see if that helps.


Note: I'm using 11.3, 11.2, 11.1 and 11.0 on various computers and VMs.

Best regards,
John
j...@jql.co.uk <mailto:j...@jql.co.uk>


On Tue, May 12, 2020 at 4:08 AM Laszlo Kishalmi 
mailto:laszlo.kisha...@gmail.com>> wrote:


Try with NetBeans 11.3. 11.1 is not supported any more.


On 5/11/20 6:04 PM, Bayless Kirtley wrote:
> Surely there is a better answer than that. I just spent a week
getting
> everything running like I want. Everything except Netbeans works
> perfectly, including all my Java programs. I really like the new
> desktop too. Surely Netbeans should work with the currently most
> popular distro of Linux.
>
> Bayless
>
>
> On 5/11/20 3:34 PM, John G. Weed wrote:
>> I had this problem and got so frustrated that I eventually
moved off
>> of Mint entirely. I now run Ubuntu. If I ran Netbeans and
forgot to
>> exit the application before logging off, I was almost 100%
guaranteed
>> that I wold have to reboot the computer to get back in. There
wasn't
>> a single day that wouldn't require a reboot from a hung system.
>> Netbeans and Mint are allergic to each other for some reason.
Best I
>> could figure was a Java problem. It all was for the best
anyway, as
>> Ubuntu is much more stable and after 13 months I've not had a
>> Netbeans required reboot once. Bottom line, migrate off of Mint
>>
>> Sincerely,
>>
>> John .G Weed
>> Sr. Systems Architect/Programmer Analyst @ Cicero Systems, LLC
>> *"Reason. Resolve. Respond"*
>> (571) 277-9998
>> www.linkedin.com/in/john-weed-28378a161
<http://www.linkedin.com/in/john-weed-28378a161>
>>
>> *"Steal a man's reputation for probity, and the more shrewd and
>> clever he is, the more hated and mistrusted he'll become." *Marcus
>> Tullius Cicero (106BC-43BC)
>>
>> *Confidentiality Notice:* The information contained in this
>> electronic transmission is privileged and confidential and is
>> intended only for the recipient(s) named above. If the reader
of this
>> message is not the recipient(s) named above, or an authorized
agent
>> of such recipient(s) responsible for delivering it to the intended
>> recipient(s), you are hereby notified that you have received this
>> electronic transmission in error. Any review, dissemination,
>> distribution, or copying of this electronic transmission including
>> any attachments is strictly prohibited. If you have received this
>> electronic transmission in error, please notify the sender
immediately.
>>
>> On Mon, May 11, 2020, at 16:26, Bayless Kirtley wrote:
>>> After installing Netbeans 11.1 on Linux Mint 19.3, it has a
nasty habit
>>> of suddenly locking up. It seems to be the whole computer.
This happens
>>> pretty regularly when trying to do a simple refactor, renaming a
>>> variable. It also happens but less often when just editing or
typing
>>> code. These pauses always seem to last between 30 and 60
seconds. This
>>> really makes it virtually unusable. On the refactor, it always
happens
>>> even before accepting the new name so it has not actually started
>>> renaming yet. These are small Java desktop projects of a dozen
or so
>>> classes and usually only one or two projects open at a time so
no more
>>> 

Re: Netbeans long pauses

2020-05-11 Thread Bayless Kirtley
Surely there is a better answer than that. I just spent a week getting 
everything running like I want. Everything except Netbeans works 
perfectly, including all my Java programs. I really like the new desktop 
too. Surely Netbeans should work with the currently most popular distro 
of Linux.


Bayless


On 5/11/20 3:34 PM, John G. Weed wrote:

I had this problem and got so frustrated that I eventually moved off of Mint 
entirely. I now run Ubuntu. If I ran Netbeans and forgot to exit the 
application before logging off, I was almost 100% guaranteed that I wold have 
to reboot the computer to get back in. There wasn't a single day that wouldn't 
require a reboot from a hung system. Netbeans and Mint are allergic to each 
other for some reason. Best I could figure was a Java problem. It all was for 
the best anyway, as Ubuntu is much more stable and after 13 months I've not had 
a Netbeans required reboot once. Bottom line, migrate off of Mint

Sincerely,

John .G Weed
Sr. Systems Architect/Programmer Analyst @ Cicero Systems, LLC
*"Reason. Resolve. Respond"*
(571) 277-9998
www.linkedin.com/in/john-weed-28378a161

*"Steal a man's reputation for probity, and the more shrewd and clever he is, the 
more hated and mistrusted he'll become." *Marcus Tullius Cicero (106BC-43BC)

*Confidentiality Notice:* The information contained in this electronic 
transmission is privileged and confidential and is intended only for the 
recipient(s) named above. If the reader of this message is not the recipient(s) 
named above, or an authorized agent of such recipient(s) responsible for 
delivering it to the intended recipient(s), you are hereby notified that you 
have received this electronic transmission in error. Any review, dissemination, 
distribution, or copying of this electronic transmission including any 
attachments is strictly prohibited. If you have received this electronic 
transmission in error, please notify the sender immediately.

On Mon, May 11, 2020, at 16:26, Bayless Kirtley wrote:

After installing Netbeans 11.1 on Linux Mint 19.3, it has a nasty habit
of suddenly locking up. It seems to be the whole computer. This happens
pretty regularly when trying to do a simple refactor, renaming a
variable. It also happens but less often when just editing or typing
code. These pauses always seem to last between 30 and 60 seconds. This
really makes it virtually unusable. On the refactor, it always happens
even before accepting the new name so it has not actually started
renaming yet. These are small Java desktop projects of a dozen or so
classes and usually only one or two projects open at a time so no more
than 2 or 3000 lines. I assume I have something wrong but no idea where
to start looking. Any help will be greatly appreciated.

Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Netbeans long pauses

2020-05-11 Thread Bayless Kirtley
After installing Netbeans 11.1 on Linux Mint 19.3, it has a nasty habit 
of suddenly locking up. It seems to be the whole computer. This happens 
pretty regularly when trying to do a simple refactor, renaming a 
variable. It also happens but less often when just editing or typing 
code. These pauses always seem to last between 30 and 60 seconds. This 
really makes it virtually unusable. On the refactor, it always happens 
even before accepting the new name so it has not actually started 
renaming yet. These are small Java desktop projects of a dozen or so 
classes and usually only one or two projects open at a time so no more 
than 2 or 3000 lines. I assume I have something wrong but no idea where 
to start looking. Any help will be greatly appreciated.


Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Missing Glib & GtkWidget

2020-05-09 Thread Bayless Kirtley
I recently updated from Netbeans 8.1 to 11.1 on Linux Mint 19.3, open 
JDK 11.0.7. I have all my projects compiling and running successfully. I 
keep getting error messages in the output window with Netbeans however.  
They usually complain about Glib-GObject and usually reference GtkWidget 
of JawTopLevel. I have never knowingly used any of the above and never 
had the messages in 8.1 Can anyone tell me how to eliminate these 
errors? Am I missing something the 11.1 needs? Or do I have something in 
my code that I don't think I need?


Thanks, Bayless



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Missing module opening existing HTML project

2020-05-04 Thread Bayless Kirtley
I have no idea what happened but it finally just started working last 
night and I did nothing to correct it.


Bayless


On 5/2/20 12:23 PM, Bayless Kirtley wrote:
I just installed Netbeans 11.1 on Linux Mint 19.3. It seem to open my 
java projects all right but my HTML project shows as "Broken". When I 
try to resolve the problem it gives the following message.


Would also need to enable 
StandardModule:org.netbeans.modules.web.webkit.tooling jarFile /home/...


with the path to the jar file which does exist as shown and marked as 
executable. How do I enable it?


Bayless
l


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Missing module opening existing HTML project

2020-05-02 Thread Bayless Kirtley
I just installed Netbeans 11.1 on Linux Mint 19.3. It seem to open my 
java projects all right but my HTML project shows as "Broken". When I 
try to resolve the problem it gives the following message.


Would also need to enable 
StandardModule:org.netbeans.modules.web.webkit.tooling jarFile /home/...


with the path to the jar file which does exist as shown and marked as 
executable. How do I enable it?


Bayless
l


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: GUI builder cannot find generated code

2019-10-23 Thread Bayless
IIRC swing-layout was a separate library required in the early days of 
the Netbeans free form GUI editor. Eventually, Java included the code in 
the standard jdk. Although it did the same thing, it did it in a 
slightly different and not fully compatible way. I'm not certain but I 
think I had to just rebuild any of the old forms under the jdk version.


Bayless



On 10/23/19 11:46 AM, Peter Toye wrote:

Re: GUI builder cannot find generated code Dear Paul,

You can probably delete the swing library - the original program used it.

The project platform is JDK12 which is what I've got installed. You 
can probably downgrade it to 11 without problems, as I don 't use any 
Java features that aren't in version 8.


How is one to send an entire project without zipping? I'm on Windows 
and don't have tar.


Best regards,

Peter
mailto:netbe...@ptoye.com
www.ptoye.com

-
Wednesday, October 23, 2019, 4:57:18 PM, you wrote:


I just did that and two issues popped up right away:
Problem: The project uses a class library called "swing-layout", but 
this class library was not found.
Solution: Click Resolve to open the Library Manager and create a new 
class library called "swing-layout".
The active project platform is an older version than it's required by 
project source/binary format.

I'm using NetBeans 11.1 with AdoptOpen JDK 11
So I don't even get as far as you.
FYI: I'm pretty sure Geertjan said no zips please.
---

Cheers,

Slim

On 2019-10-23 11:32, Peter Toye wrote:

Dear Geertjan,

I'm not sure what you mean by a "Stack trace" - there's no dump 
available as it didn't crash..


Here's as small an example as I can manage.

Steps to reproduce:

 1. Open TestFormBug in NB 11.1 (I'm on Windows - don't know if the OS
is relevant).
 2. If not already open, in package com.ptoye.testFormBug, open
OuterPane.Java.
 3. Click on "Design" tab
 4. You should get an error message saying the file is corrupt. If you
don't, your system is different from mine.




Best regards,

Peter
mailto:netbe...@ptoye.com
www.ptoye.com

-
Wednesday, October 23, 2019, 3:33:49 PM, you wrote:

Unless we can reproduce it or get a stack trace, you’ll get no 
responses.

Gj

On Wed, 23 Oct 2019 at 16:09, Peter Toye <mailto:netbe...@ptoye.com>> wrote:
	More information on this. When I open the .java file in a text 
editor, the editor-fold lines have extra information


// //GEN-BEGIN:initComponents

and
  } // //GEN-END:initComponents

But these don't appear when I look at the file in NetBeans. I've done 
the same for a very simple project which I started from scratch and 
the same happens.


Is the editor performing some sort of censorship on auto-generated 
comments? It doesn't make looking for problems any easier. Or is it a 
bug, in which case I'll report it?


But I still can't develop my project until I can sort this. I'm 
attaching the error that I get in case it helps.


Does anyone know exactly what the GUI editor is looking for, so that I 
can edit the file to satisfy it? Various attempts by me to try that 
have all failed.


-

Tuesday, October 22, 2019, 11:55:09 AM, you wrote:

Another issue moving from NB 8 to 11.1

I moved a Java with Ant project from NB version 8 to 11.1, and 
everything seemed fine until I decided to modify a form within the 
project. I got an error message saying that the GUI builder couldn't 
find the generated code. The message directed me to the wiki page 
http://wiki.netbeans.org/FormGuardedBlockError which describes the 
issue, but the generated code sections of my project seem OK - I 
reproduce them below. These are identical to code generated on a new 
project which of course doesn't give the error.


  // 
  private void initComponents() {
...
    add(pnlButtons, java.awt.BorderLayout.NORTH);
??  } // 

  // Variables declaration - do not modify
  private javax.swing.ButtonGroup bgColours;
...
  private javax.swing.JRadioButton rbtTemp;
  // End of variables declaration
??

Any ideas on how I can recover from this, as the code looks fine?


Regards,

Peter
mailto:netbe...@ptoye.com
www.ptoye.com <http://www.ptoye.com>



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org 
<mailto:users-unsubscr...@netbeans.apache.org>
For additional commands, e-mail: users-h...@netbeans.apache.org 
<mailto:users-h...@netbeans.apache.org>


For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: JTable - Null Pointer - GUI editor

2019-06-26 Thread Bayless
The code you show does not populate the data vector so it has no rows 
unless you just haven't shown where you do that. You can't set a value 
in a row that does not exist, thus null probably. Also num or row could 
be null. Finally, your column numbers in the setValueAt lines do not 
agree with your defined columns.


Anyway as someone suggested earlier, Set a breakpoint at the offending 
line and find out what is null. If that doesn't show it then precede 
with get the data vector from the model and check it.


Bayless


On 6/26/19 12:45 PM, mmo...@me.com wrote:

This is the generated code:

private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        scriptTable = new javax.swing.JTable();

        setSize(new java.awt.Dimension(200, 200));

        scriptTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Number", "Name", "Dose", "Instructions", "Date 
Filled", "Date to Refill", "Date to Renew", "Date Expires”

            }
        ));
jScrollPane1.setViewportView(scriptTable);

This is my code where I use it:

  scriptTable.getModel().setValueAt(num, row, 2);  NULL POINTER HERE
scriptTable.getModel().setValueAt(nam, row, 3);
scriptTable.getModel().setValueAt(dose, row, 4);
scriptTable.getModel().setValueAt(instruc, row, 5);
scriptTable.getModel().setValueAt(filled, row, 6);
scriptTable.getModel().setValueAt(tofill, row, 7);
scriptTable.getModel().setValueAt(torenew, row, 8);
scriptTable.getModel().setValueAt(expires, row, 9);

Best Regards,

Michael
On Jun 26, 2019, 4:33 AM -0700, Bayless , wrote:


Or maybe you have not created the model or supplied it with starting 
data vector.


Bayless


On 6/26/19 12:42 AM, Helmut Leininger wrote:


Hi Michael,

without more information it is very difficult to say. It could be 
that either scriptTable, num, or row is not set.


I would try to use the debugger to find out.

Helmut

Am 26.06.2019 um 01:20 schrieb mmo...@me.com.INVALID:
I placed a JTable, on a JScrollPane on a JInternalFrame, using the 
default DefaultTableModel.


When I try and load data into the model I get a 
java.lang.NullPointerException.


scriptTable.setValueAt(num, row, 2);

The table is initialized in the constructor method InitComponents.

Any idea what I’m doing wrong?

Best Regards,

Michael


Re: JTable - Null Pointer - GUI editor

2019-06-26 Thread Bayless
Or maybe you have not created the model or supplied it with starting 
data vector.


Bayless


On 6/26/19 12:42 AM, Helmut Leininger wrote:


Hi Michael,

without more information it is very difficult to say. It could be that 
either scriptTable, num, or row is not set.


I would try to use the debugger to find out.

Helmut

Am 26.06.2019 um 01:20 schrieb mmo...@me.com.INVALID:
I placed a JTable, on a JScrollPane on a JInternalFrame, using the 
default DefaultTableModel.


When I try and load data into the model I get a 
java.lang.NullPointerException.


scriptTable.setValueAt(num, row, 2);

The table is initialized in the constructor method InitComponents.

Any idea what I’m doing wrong?

Best Regards,

Michael


Re: News: Apache NetBeans has graduated from the Apache Incubator

2019-04-17 Thread Bayless

WOOHOO! Congratulations to all of you who did so much.

Bayless


On 4/17/19 6:27 PM, Jiří Kovalský wrote:

Wow, vanilla ice-cream is cool but this news is even better!

Well deserved outcome of heroic work of plenty of people in their free 
time with no immediate results has inevitably come.


Wohooo!

-Jirka

Dne 18. 04. 19 v 0:36 Geertjan Wielenga napsal(a):


Hi all,

The ASF Board of Directors have just voted to establish the Apache 
NetBeans project as a top level project. Congrats to us all, for the 
hard work and dedication (and it only took 2 1/2 years)!


This is a public (binding) decision, so by means of this e-mail we 
are officially sharing the good news that we have left the Apache 
Incubator and are now an official Apache project.


Now comes the tasks of "un-incubating" all the resources we have, in 
the coming days -- for example, you'll see references to "incubating" 
being removed in various places.


Kind regards, and congrats to us all again,

Gj



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: please recommend Linux Font for Netbeans on Linux

2018-12-10 Thread Bayless
Sorry but my input may not have been too helpful after all. It seems I'm 
still using JDK1.8 and Netbeans 8.1.


Bayless


On 12/10/18 7:52 AM, Neil C Smith wrote:

On Mon, 10 Dec 2018 at 13:48, Bayless  wrote:

I use Netbeans on Linux Mint, based on Ubuntu, and have never seen the problems 
you describe. I just use the default font that Netbeans comes with and don't 
even know what it is but it works for me.

Are you using OpenJDK 11?

Best wishes,

Neil



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: please recommend Linux Font for Netbeans on Linux

2018-12-10 Thread Bayless
I use Netbeans on Linux Mint, based on Ubuntu, and have never seen the 
problems you describe. I just use the default font that Netbeans comes 
with and don't even know what it is but it works for me.


Bayless


On 12/10/18 12:21 AM, * William wrote:

Hi Gregor,

Thanks for your comment.  Bassed on my trails with different Fixed 
Width fonts -- It looks as if the issue is to do with Netbeans, not 
the fonts. The fonts work find in other applications -- Examples here 
are from VS Code:


  * https://itnext.io/11-best-programming-fonts-724283a9ed57

The screen shot I provided was using "Courier 10", which seems to 
famoulsy work (virtually) everywhere else.  And yet on two different 
lines in netbeans  the Display of the variable name both in column 41 
appears to be as much as 10 x characters apart.  That's just 
ridiculous if you ask me.


So the question is really how can Netbeans be tweaked to display Fixed 
Width Fonts in columns matching the font widths.


Best wishes ...

On Fri, 7 Dec 2018 at 19:40, Gregor Kovač <mailto:kov...@gmail.com>> wrote:


Hi!

I'm using "Office Code Pro" size 12 for the editor and "Tahoma"
size 12 for the default font (menus, ...).

Best regards,
    Kovi

V V pet., 7. dec. 2018 ob 07:11 je oseba * William
mailto:william.full.m...@gmail.com>>
napisala:

Hello list ...

Please refer to the screen shot below ... The comment on the
right is the column number of the parent class/interface on
that line.




Re: Chrome with NetBeans Connector Error

2018-10-26 Thread Bayless
That seems to be right. I recently got an update to Chrome on Linux Mint 
and started getting the same error. It didn't bother me though so I just 
ignored it. I'm sure the same will happen on Ubuntu.



On 10/26/18 9:16 AM, John Lavelle wrote:
Yes, I'm using the latest version of Chrome and Chromium on all 
platforms.


If you find the code for the Connector and want someone to look at it, 
I'll certainly give it a go.


Best regards,
John
j...@jql.co.uk 


On Fri, 26 Oct 2018 at 16:07, Geertjan Wielenga 
 wrote:


Basically the problem is that you've upgraded Chrome to some
version that the Connector does not support. Either you need to
downgrade to a level where the Connector supports it or we need to
update or tweak the Connector somehow. Not sure where that source
code is nor whether it has been donated or is scheduled yet, will
take a look.

Gj

On Fri, Oct 26, 2018 at 7:00 AM John Lavelle mailto:j...@jql.co.uk>> wrote:

Hi,

I've started to get an error when using Chrome with the
NetBeans Connector. The error is:

/Browser refused to debug this tab./
/Close Chrome Developer Tools (or any other browser debugger)
and try again./

To replicate:

Create an HTML page and use Chrome with NetBeans Connector in
the project properties. Press F6 (or run the page) and the
error occurs.

I've tried this on the following NetBeans and get the same error:

  * 8.2 for Windows
  * 9.0 for Windows
  * 8.2 for Linux (Mint)
  * 9.0 for Linux (Mint)
  * 9.0 for Linux (Mint) with Chromium (clean install with
default install settings)

I'm about to try it on Ubuntu 18.04 but I suspect the same
error will be thrown.

I have CDT (Chrome Developer Tools) switched off as suggested
and, just in case, switched on as well. There is no difference.

I'm of the opinion, though have no proof, that this could be a
Chrome issue.

Can anyone else replicate it?
Does anyone know of a work-round or fix (other than not using
NetBeans Connector)?

Many thanks in advance.

Best regards,
John



Re: Apache NetBeans: Duke's Choice Award Winner 2018

2018-10-23 Thread Bayless

Many congratulations to all of you!


On 10/23/18 6:29 PM, Geertjan Wielenga wrote:

Hi all,

Congratulations to all of us!

We have won the highest accolade in the Java ecosystem -- a Duke's 
Choice Award.


Oracle press release:

https://www.oracle.com/it/corporate/pressrelease/oow18-code-one-java-keynote-2018-10-22.html

Attached is a happy pic of a lot of Apache NetBeans PPMC members at 
the award ceremony, together with Georges Saab, Vice President, 
Software Development, Java Platform Group at Oracle.


This is big news!

Gj



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: Adding Visual Web Designer using JavaFX

2018-08-13 Thread Bayless

Good answer Geertjan!

Bayless


On 08/13/2018 07:11 AM, Geertjan Wielenga wrote:

I think relatively easy tasks do not exist in software development.

Gj

On Mon, Aug 13, 2018 at 2:07 PM, Miroslav Nachev 
mailto:mnachev.nscenter...@gmail.com>> 
wrote:


Hi,

In case, that JavaFX replace Swing for NetBeans GUI, creating a
Visual Web Designer will be a relatively easy task. What do you think?


Regards,
Miro.






Re: Starting netbeans 8.0.2 launches KDE Wallet

2018-03-09 Thread Bayless

Not using git. Thanks, now I understand.



On 03/09/2018 08:53 AM, Neil C Smith wrote:



On Fri, 9 Mar 2018 at 14:50 Bayless <bk...@cox.net 
<mailto:bk...@cox.net>> wrote:


I don't understand this.

I have used Netbeans since version 5.0 and it has never asked for a
password of any kind. I have also been using version 8.1 for the
last 18
months on Linux Mint, still with no password requested.


I assume you're not pushing to git, etc.?  This generally comes up 
when storing passwords for authenticating to repositories and the like.


Best wishes,

Neil
--
Neil C Smith
Artist & Technologist
www.neilcsmith.net <http://www.neilcsmith.net>

Praxis LIVE - hybrid visual IDE for creative coding - 
www.praxislive.org <http://www.praxislive.org>




Re: Starting netbeans 8.0.2 launches KDE Wallet

2018-03-09 Thread Bayless

I don't understand this.

I have used Netbeans since version 5.0 and it has never asked for a 
password of any kind. I have also been using version 8.1 for the last 18 
months on Linux Mint, still with no password requested.


Do you have it set to require super user access maybe? If so then I 
suggest re-installing with access for all users.


Bayless



On 03/09/2018 04:16 AM, Peter Nabbefeld wrote:


Hello,

I'm using NB 8.1/8.2/dev on Arch Linux.

When starting NetBeans, I'm asked for the master password, with the 
following hint:


"The IDE can remember passwords for you, protected by a master 
password. If you have not chosen one yet, do so now; you will be 
prompted for it in subsequent sessions when needed. You can also 
change the master password whenever you are prompted for it."


The passwords will be stored in some keystore. I've found the 
following related link: http://wiki.netbeans.org/FaqMasterPasswordDialog


Obviously, in releases 7.x, setting the master password could be 
optionally enabled. Since 8.x it seems to be required.


However, as the document contains the following phrase: "[...] as of 
NetBeans 6.9 the IDE tries to use your operating system's native 
facility to store passwords.", using either password store should not 
be specified by netbeans, but by underlying OS instead. But I don't 
now if either keystore could be disabled on a per-application-basis.


However, NetBeans looks for available keystores and sorts them 
according to a position number - kwallet having position number 99, 
keyring having 100, so kwallet "wins".


You could set "netbeans.keyring.no.native=true", then neither should 
be used.


However, I don't see any possibility in the current code, to switch 
the keystore used. You could implement a property to switch the 
keystore, my personal favorite would be 
"org.netbeans.modules.keyring.preferredKeystore" (a preferred keystore 
allows to find some other, if it is not available). The code should be 
added to api the "keyring" module (class "Keyring" could store both 
results and return the preferred one, if found).


Kind regards
Peter



Am 09.03.2018 um 02:11 schrieb Olumide:

Hello List,

Whenever I start netbeans-8.0.2 the KDE Wallet is launched and 
regardless of the look-and-feel, GTK+ or otherwise. How can I stop 
this from happening? My Os is Ubuntu Linux 17.10.


Regards,

- Olumide

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists