Groovy

2018-10-22 Thread Peter Steele
Hi

I am trying to install the latest version of gradle from here

http://plugins.netbeans.org/plugin/44510/gradle-support

I have the 8.2 version but I want a later version as the 8.2 gradle plugin
doesn't seem to work with the lastest version of ubuntu.

I have an issue though, I get this message.
   Some plugins require plugin Groovy Support to be installed. The
plugin Groovy Support is requested in version >= 1.42 but only 1.41.1 was
found.

The following plugin is affected:
  Gradle Support


Do you know how I can get Groovy Support version >= 1.42?

My update center has this. there is no update available from the ide

*Version: *1.34.1
*Source: *Netbeans 8.2

Plugin Description This module provides all Groovy and Grails functionality
available in NetBeans. It is wrapper for all single modules in this area.


Thanks

Peter


[API] How to remove space around JFXPanel in editor position?

2018-10-22 Thread Jared Pkgsrc
Hi all,

I am trying to port a JavaFX desktop app I've been working on to the
NetBeans platform.  The interface is simple.  I intend to keep all the
JavaFX components in a single JFXPanel, which I have in the editor
position filling the NetBeans main window.  I have also figured out
how to hide the tab of the TopComponent pane that contains the
JFXPanel, the default menu bar, and the task bar at the bottom of the
window.

The only remnant of the standard NetBeans Swing components that I
can't figure out how to hide is space that exists around the
JFXPanel--or maybe it's around the TopComponent.  It's just a couple
pixels wide.  You can see it in this screenshot.

https://i.imgur.com/7CuynK4.png

Does anybody have a suggestion for how to get rid of this space?

Thanks a lot,
Jared

-
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: [RPC] Disable internal Webbrowser

2018-10-22 Thread Sven Marquardt
Thanks i think with this i can open the link with an external browser. I
now only have to figure out how to open it in the external browser. I
also saw this thread
http://netbeans-org.1045718.n5.nabble.com/External-HTML-Browsers-td3025927.html
but that also did not solve my problem.

On 2018/10/22 13:42:01, Martin Barnáš  wrote:
> We had requirement from our customer that browser mustn't be available
to users of our application. I dont' think it is possible to remove
internal browser completely but I forbid to use it by creating my own
implementation of service org.openide.awt.HtmlBrowser.Factory and
org.openide.awt.HtmlBrowser.URLDisplayer.>
>
>
> @ServiceProvider(service = HtmlBrowser.Factory.class, position = 0)>
> public class HtmlBrowserFactory implements HtmlBrowser.Factory {>
> // ...>
> }>
>
>
>
> @ServiceProvider(service = URLDisplayer.class,>
> position = 0,>
> supersedes = { "org.netbeans.core.NbURLDisplayer" })>
> public class NoOpUrlDisplayer extends URLDisplayer {>
> private static final Logger LOG =
LoggerFactory.getLogger(NoOpUrlDisplayer.class);>
>
> @Override>
> public void showURL(URL u) {>
> LOG.debug("Usage of browser is forbidden.");>
> }>
> }>
>
>
> >
> Od: Sven Marquardt >
> Odesláno: pondělí 22. října 2018 14:35:48>
> Komu: users@netbeans.apache.org>
> Předmět: Re: [RPC] Disable internal Webbrowser>
>
> I'm talking about netbeans%

-
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: AW: SQL profiling

2018-10-22 Thread Glenn Holmer
On 10/22/2018 03:09 AM, Christian Lenz wrote:
> A bit off Topic, I like the feature too, but this is only working for
> Java Projects, Right? It would be good, if we can have a Little profiler
> for plain SQL too, I mean in the DB section of NetBeans. There is a
> MySQL profiler in the MySQL DB. I will create a ticket for that.

You're actually profiling JDBC calls, so yes, it's Java-based. If you
expand any of the nodes, you'll see timings for method calls in your
JDBC driver and the calling methods.

For low-level database stuff, I think you're probably better off using
your database's own tools (e.g. pgAdmin for Postgres) or a query like
EXPLAIN ANALYZE.

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

-
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: [RPC] Disable internal Webbrowser

2018-10-22 Thread Martin Barnáš
We had requirement from our customer that browser mustn't be available to users 
of our application. I dont' think it is possible to remove internal browser 
completely but I forbid to use it by creating my own implementation of service 
org.openide.awt.HtmlBrowser.Factory and 
org.openide.awt.HtmlBrowser.URLDisplayer.


@ServiceProvider(service = HtmlBrowser.Factory.class, position = 0)
public class HtmlBrowserFactory implements HtmlBrowser.Factory {
// ...
}



@ServiceProvider(service = URLDisplayer.class,
position = 0,
supersedes = { "org.netbeans.core.NbURLDisplayer" })
public class NoOpUrlDisplayer extends URLDisplayer {
private static final Logger LOG = 
LoggerFactory.getLogger(NoOpUrlDisplayer.class);

@Override
public void showURL(URL u) {
LOG.debug("Usage of browser is forbidden.");
}
}



Od: Sven Marquardt 
Odesláno: pondělí 22. října 2018 14:35:48
Komu: users@netbeans.apache.org
Předmět: Re: [RPC] Disable internal Webbrowser

I'm talking about netbeans platform. Not the IDE. If i packag my
netbeans platform application i dont want the internal browser get
packaged with my application. My use case is this i have an about dialog
with an html reference to the homepage of the aplication. But when i
click the link in the about dialog, netbeans trys to open it with the
internal webbrowser. Is there any setting where i can force netbeans to
open it with the external browser?

On 2018/10/22 12:25:43, "Lutz Horn"  wrote:
> On Mon, Oct 22, 2018 at 01:53:26PM +0200, Sven Marquardt wrote:>
> > I wonder if there is an option to disable the internal webbrowser of>
> > the netbeansplatform. >
>
> Tools > General > Web Browser > "">
>
> should do what you want.>
>
> Lutz>
>
> ->
> 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: [RPC] Disable internal Webbrowser

2018-10-22 Thread Sven Marquardt
I'm talking about netbeans platform. Not the IDE. If i packag my
netbeans platform application i dont want the internal browser get
packaged with my application. My use case is this i have an about dialog
with an html reference to the homepage of the aplication. But when i
click the link in the about dialog, netbeans trys to open it with the
internal webbrowser. Is there any setting where i can force netbeans to
open it with the external browser?

On 2018/10/22 12:25:43, "Lutz Horn"  wrote:
> On Mon, Oct 22, 2018 at 01:53:26PM +0200, Sven Marquardt wrote:>
> > I wonder if there is an option to disable the internal webbrowser of>
> > the netbeansplatform. >
>
> Tools > General > Web Browser > "">
>
> should do what you want.>
>
> Lutz>
>
> ->
> 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: [RPC] Disable internal Webbrowser

2018-10-22 Thread Neil C Smith
On Mon, 22 Oct 2018 at 12:53, Sven Marquardt  wrote:
>
> I wonder if there is an option to disable the internal webbrowser of the
> netbeansplatform. Right now everytime i or a user of the application
> clicked on a link, the inernal browser will open. Is there a way to
> disable this?

You might want to look at implementing and registering your own
HTMLBrowser.Factory implementation.  Or if you're in control of the
links, using HtmlBrowser.URLDisplayer.getDefault().showURLExternal(coreDocs);

See 
http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/HtmlBrowser.html

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: [RPC] Disable internal Webbrowser

2018-10-22 Thread Lutz Horn
On Mon, Oct 22, 2018 at 01:53:26PM +0200, Sven Marquardt wrote:
> I wonder if there is an option to disable the internal webbrowser of
> the netbeansplatform. 

Tools > General > Web Browser > ""

should do what you want.

Lutz

-
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



[RPC] Disable internal Webbrowser

2018-10-22 Thread Sven Marquardt
I wonder if there is an option to disable the internal webbrowser of the
netbeansplatform. Right now everytime i or a user of the application
clicked on a link, the inernal browser will open. Is there a way to
disable this?


-
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



AW: SQL profiling

2018-10-22 Thread Christian Lenz
A bit off Topic, I like the feature too, but this is only working for Java 
Projects, Right? It would be good, if we can have a Little profiler for plain 
SQL too, I mean in the DB section of NetBeans. There is a MySQL profiler in the 
MySQL DB. I will create a ticket for that.

Back to Topic, my Question is, it is only working for Java/Maven Projects for 
the Profiler, Right?


Cheers

Chris




Von: Glenn Holmer
Gesendet: Sonntag, 21. Oktober 2018 19:23
An: net...@netbeans.apache.org; users@netbeans.apache.org
Betreff: SQL profiling

I guess it's too late to create a test spec for this ("Closed for
editing"), but just to give a shout out, this is a great feature of
NetBeans. You can profile your SQL queries and view by table, type of
SQL statement (regular, prepared, stored), type of command... you can
even search among the queries.

I created a Maven project and will upload it when I create this test
spec for the next NetCAT. I didn't encounter any issues when testing
this crazy cool feature.

http://wiki.netbeans.org/ProfilerSqlQueries

-- 
Glenn Holmer (Linux registered user #16682)
"After the vintage season came the aftermath -- and Cenbe."

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

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