Re: Error when connecting to Remote Git Repository

2021-02-25 Thread Darin Miller
Hi Sebastian,

At work, we use BibBucket (git fork) where standard SSH keys, BB and
Netbean do not play well together.  Try using an SSH key that was generated
with PEM, i.e:

  ssh-key -t rsa -m PEM

I am not sure if the limitation is a "feature" or a "bug".

 o__
  >/
( )\( ) Darin | 208-283-1574


On Thu, Feb 25, 2021 at 1:14 PM seb.-...@t-online.de 
wrote:

> Hello,
>
>
>
> I have a problem pushing my Netbeans Project to a Gitlab Repository. I
> tried to connect to my repository with two other programs that worked well
> so there should be no mistake with my login credentials. When I try to
> clone or push to a remote repository, I always get the error:
> "Incorrect credentials for repository at https://gitlab.com/xxx/xxx.git;.
>
> In addition to that, an unexpected exception occurred with the the error:
>
>
> java.lang.NoClassDefFoundError: Could not initialize class
> org.netbeans.modules.keyring.mac.SecurityLibrary
> at org.netbeans.modules.keyring.mac.MacProvider.delete(MacProvider.java:89)
> at org.netbeans.api.keyring.Keyring.deleteImpl(Keyring.java:168)
> at org.netbeans.api.keyring.Keyring.access$300(Keyring.java:52)
> at org.netbeans.api.keyring.Keyring$3.run(Keyring.java:189)
> at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
> at
> org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
> at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
> [catch] at
> org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
>
>
> I am using Apache NetBeans IDE 11.0 (Build
> incubator-netbeans-release-404-on-20190319) with Java 12.0.1 on macOS
> 11.2.1 Big Sur.
>
>
>
> I thought that NetBeans is too old and tried to update to 12.2. I renamed
> all the NetBeans 11 folders at /Applications, "/Application Support" and
> "/Caches" but I always get the error "Cannot initialize registry.
> Exception: org.netbeans.installer.utils.exceptions.InitializationException:
> No components matching the requirement: nb-extide/12.2.0.0.201121 requires
> nb-all/12.2.0.0.201121 - 12.2.0.0.201121.
>
> This error appers a few times and then the installer crashes.
>
>
>
> For any help I would be thankful. I would like to update to Netbeans 12,
> but its not necessary. If you need a log file I will provide it.
>
>
>
> Thanks
>
> Sebastian
> 
>


Re: NetBeans 12 and 4K monitor

2020-09-06 Thread Darin Miller
Klerman,

Have you attempted starting netbeans with --fontsize 20  (i.e.
/opt/netbeans/bin/netbeans --fontsize 20)?

 o__
  >/
( )\( ) Darin | 208-283-1574


On Sun, Sep 6, 2020 at 11:38 PM Klerman  wrote:

> Hello,
> I recently changed to this Dell XPS 13 which has a high resolution monitor
> and Ubuntu 20.04.
> My settings are 3840X2160, 300%.
> I installed NetBeans 12.0 and to my surprise, it's practically unusable in
> this machine, as it's unable to adapt itself to these scales and the
> resolutions.
> I Googled for a solution, and the two I found all recommend to edit the
> netbeans.conf file.
> Using the locate command, I found two of these files in this system:
> /home/me/.local/share/Trash/files/netbeans.conf
> and
> /snap/netbeans/30/netbeans/etc/netbeans.conf
> The file in the snap folder is readonly, and I can't find the way to make
> it writable. The chmod command leaves it untouched.
> The file in the home folder seems not to have any effect on NetBeans.
> Could anyone please point me to the solution of this problem ?.
> Many thanks in advance,
> Klerman.
>
>
>
> --
>
> Klerman Gutierrez.
> Cel. / Mov.: +58 414 5320193
> http://www.flickr.com/photos/rimlit
> www.facebook.com/klerman
>


Re: Mouse quirks

2020-04-30 Thread Darin Miller
I also observe the "ultra precise" mouse behavior. Both on win7 and win10
desktops.

 o__
  >/
( )\( ) Darin | 208-991-4421


On Thu, Apr 30, 2020 at 9:52 AM Alan 
wrote:

> Hi Eirik,
>
> No display scaling, everything is 100%. It's also monitor-independent. The
> problem is inconsistent, although it's more prevalent with breakpoints than
> with the document close. The highlight box is a good indication that the
> mouse position is getting read right, it's the click event that seems to be
> problematic.
>
> At this point I'm waiting for a time when I have the presence of mind to
> start screen captures. Then maybe I can better characterize the problem. It
> doesn't appear to be a consistent shift. I suspect the location of the
> actual hostspot is dependent on screen coordinates. I've had this
> experience with all the 11.x series, can't recall if it was there in 10.x
> or not, but it's new since 8.2. If it's not "just me" with this problem
> I'll see if I can set aside some time to get some more actionable
> information.
>
> This is an older machine, ASUS G75 laptop, i7-3630QM CPU, 12GB RAM, SSD
> drives. Video card is NVIDIA GeForce GTX 660M, two external monitors,
> external mouse Logitech M545. NB is usually on a LG QHD 2560x1440 monitor.
> On 2020-04-30 10:37, Eirik Bakke wrote:
>
> I get the red box hover highlight around the "X" to close a document, but 
> unless I click in exactly the right place within that box, the document 
> doesn't close.
>
> Hmm, odd--I'm on Windows 10 as well, and hadn't had this problem. Do you have 
> HiDPI scaling active by any chance? ("Display Settings"->"Change the Size of 
> Text, Apps and Other Items")
>
> Will be easier to debug if you can find a way to consistently reproduce the 
> problem.
>
> -- Eirik
>
> -Original Message-
> From: Alan  
> Sent: Thursday, April 30, 2020 12:07 AM
> To: NetBeans Mailing List  
> 
> Subject: Mouse quirks
>
> The question about odd laptop quirks has reminded me. Does anyone else 
> experience this...
>
> Under intermittent circumstances, mouse clicks seem to need to be extremely 
> precise. For example on closing a document, I get the red box hover highlight 
> around the "X" to close a document, but unless I click in exactly the right 
> place within that box, the document doesn't close.
> There's no consistency as to where the right spot is, either. This happens 
> with sufficient frequency that I'm in the habit of using Crtl-W or right 
> clicking and selecting close instead.
>
> I also get this when trying to clear a breakpoint.
>
> Running Windows 10 rev 1909, 64 bit, Java 13.0.2.
>
>
> -
> 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: Unable to connect to the MySql Server

2019-07-26 Thread Darin Miller
As shown here:
https://packages.ubuntu.com/search?keywords=libmysql-java=names=all=all,
libmysql-java
is no longer available in 19.04.  I asked in ubuntu-devel IRC asking if
omission was intentional but given that its Friday night, I am not
expecting a quick response.

 o__
  >/
( )\( ) Darin | 208-991-4421


On Fri, Jul 26, 2019 at 10:42 PM Laszlo Kishalmi 
wrote:

> The following two JIRA issues answer everything:
>
> https://issues.apache.org/jira/browse/NETBEANS-70
>
> https://issues.apache.org/jira/browse/NETBEANS-2640
>
>
> On 7/26/19 3:56 PM, rick pizzi wrote:
>
> Running Ubuntu 18.04  with OpenJDK Runtime Environment (build
> 11.0.3+7-Ubuntu-1ubuntu218.04.1)
>
> I have installed NetBeans 11.1.  I know nothing about Netbeans so am
> trying to learn from book 'August 2015 Mastering Netbeans' .
>
> The book says "*Netbeans provides native built-in support for MySql. No
> additional drivers need to be downloaded to connect to MySql databases;
> everything is provided as standard with Netbeans*".
>
>
> Per instructions I right-clicked *Register MySql Server* thus opening *MySql
> Server Properties* and filled out properties.
>
> I now get under *Services => Databases => MySql Server at
> localhost:3306[rick] (disconnected)*
> *. *
>
> (I didn't use root as rick has all privaleges including GRANT).
>
>
> Don't know where to go from here!
>
>
> Thanks for help,
>
> rick
>
>
>
>
>
>
>
>
>


Re: Unable to connect to the MySql Server

2019-07-26 Thread Darin Miller
Rick,

Unless someone knows otherwise, I don't think the driver is included.  I
had to download mysql jar file from here:
https://jar-download.com/artifacts/mysql/mysql-connector-java (i.e. current
version is mysql-connector-java-8.0.16.jar)

Under *Services => Databases*  right click on *Drivers* and select the
downloaded jar file.

Also, ensure to set the timezone in mysql, i.e. for MDT use:

SET GLOBAL time_zone = '-6:00';


 o__
  >/
( )\( ) Darin | 208-991-4421


On Fri, Jul 26, 2019 at 4:56 PM rick pizzi  wrote:

> Running Ubuntu 18.04  with OpenJDK Runtime Environment (build
> 11.0.3+7-Ubuntu-1ubuntu218.04.1)
>
> I have installed NetBeans 11.1.  I know nothing about Netbeans so am
> trying to learn from book 'August 2015 Mastering Netbeans' .
>
> The book says "*Netbeans provides native built-in support for MySql. No
> additional drivers need to be downloaded to connect to MySql databases;
> everything is provided as standard with Netbeans*".
>
>
> Per instructions I right-clicked *Register MySql Server* thus opening *MySql
> Server Properties* and filled out properties.
>
> I now get under *Services => Databases => MySql Server at
> localhost:3306[rick] (disconnected)*
> *. *
>
> (I didn't use root as rick has all privaleges including GRANT).
>
>
> Don't know where to go from here!
>
>
> Thanks for help,
>
> rick
>
>
>
>
>
>
>
>
>


Re: Questions related to the use of Netbeans

2019-04-17 Thread Darin Miller
1. Due to my inexperience, I am not using any plugin's for Java
development.  I welcome any recommendations.  (BTW, I just found the regex
plugin.  I don't know how to use it yet, but it would have been handy
several times during my development).
2. Our company was stuck on Java v. 1.6 until recently and as far as I
know, I am the sole Netbeans user at the company.  Java development is a
side responsibility and I have not had time nor "partner assistance" to
discover and appreciate new features.
3. Improvements needed:

   - Memory usage/footprint on NB 11 seems higher than 8.2. But I have not
   used it enough to fully evaluate.
   - Also, on 8.2 the search results "hover help" covers ups the search
   entries at the bottom of the list making mouse selection of the respective
   search entry impossible.  This seems to be fixed in NB11 (awesome!).
   - My large project will not load in NB 11 as "swing layout library is
   missing" and I have not figured out how easily fix the nearly 40 classes
   that are victims of this issue.
   - Better handling of mixed DPI environments both in the editor and in
   the Java apps.
   - X-platform, open source font packs to improve swing component
   consistency (maybe I just don' know how best manage what is already
   provided?)

4.  I inherited a Java project with over 100,000 lines of code in nearly 60
classes and I knew nothing about Java.  This project would have been
impossible to manage without an IDE.
Editing features I love about NB:

   - global and local searches in addition to selection highlighting
   - Alt-F7 (find usages)
   - ctrl-B (go to declaration),
   - And my absolute favorite: Ctrl-q cycles though the last edit
   location(s).

I see condescending comments online about real programmers do not use a
swing editor, but for a part time coder as I am, the swing editor is
awesome (sometime frustrating, but beats the hell of learning and
implementing every little form nuances of manual form control!).


5. NB was my 1st IDE.  I have also used Pycharm (impressive but overkill
for most of the python work I do) and KDevelop.  NB is my favorite, hands
down.

 o__
  >/
( )\( ) Darin | 208-991-4421


On Tue, Apr 16, 2019 at 5:31 AM Ko Turk  wrote:

> Hi Netbeans Users,
>
> currently I am researching the strengths and weaknesses of different IDEs.
> I think Netbeans is awesome in the integration with Maven. But I am also
> curious what you think about this great IDE!
>
> I hope you can help me in answering the following questions:
>
> 1. What are the best Netbeans plugins to use you think? And do you know
> some funny ones??
> 2. Are there any upcoming cool features?
> 3. What could be improved?
> 4. Why should the whole world use this IDE?
> 5. First IDE that you ever used? And why?
>
> Hope you can help me. Thanks!
>
> Regards,
> Ko Turk
>


Re: NB 10 Copy / paste error from Output window

2019-04-03 Thread Darin Miller
A data point from Linux: Similar setup works fine under Kubuntu 19.04 (I
don't have w10 to validate).
 o__
  >/
( )\( ) Darin | 208-991-4421


On Wed, Apr 3, 2019 at 8:12 AM Lister Jonathan 
wrote:

> Hi,
>
> I am running NB 10 on Windows 10 with a 4k monitor (3840 x 2160).
>
> I configure a larger font via netbeans.conf:
>
> netbeans_default_options=" …
>
> --fontsize 16”
>
>
>
>
>
> Whenever I copy / paste text from the output log I get extra characters
> from before the start of the selected text and am missing characters from
> the end of the selected text. For example (see the screen shot in the file
> “Output.png”) I would expect the pasted text in this case to be “Final
> method” but it is actually “: Final met”.
>
>
>
> This problem does not occur with NB 8 on the same system setup.
>
>
>
> *From:* Lister Jonathan
> *Sent:* Friday, 11 January, 2019 11:46
> *To:* 'users@netbeans.apache.org' 
> *Subject:* RE: NB 10 Sluggish start up and multiple Low memory errors,
> possible issue with automatic -Xmx setting?
>
>
>
> Same behavior with CoolBeans.
>
>
>
>
>
>
>
>
>
> -
> 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