Re: Java 8 -> Java 21 supported by Netbeans

2025-03-13 Thread Claus Lüthje
Hi MaciejIt‘s hard to understand, that there is no tool support for Java migration.Much of the needed information seems to be in Maven POMs, so at least a template could be generated by NetBeans.Kind regardsClausAm 13.03.2025 um 12:18 schrieb Maciej Jaros : This will be a time-c

Re: Allow dropping files into an OutlineView

2025-03-13 Thread avaluedcustomer
Thanks, that looks good. Regards Thomas Am 13.03.25 um 20:01 schrieb Eirik Bakke: Drag and drop in OutlineView works as if pasting the item while the Node is selected. To allow dropping onto a Node in an OutlineView, override the createPasteTypes method in the Node implementation. Then add

Re: Allow dropping files into an OutlineView

2025-03-13 Thread Eirik Bakke
Drag and drop in OutlineView works as if pasting the item while the Node is selected. To allow dropping onto a Node in an OutlineView, override the createPasteTypes method in the Node implementation. Then add relevant PasteType instances to retPasteTypes. When dropping to areas outside any dis

Re: Find unused private methods in a class

2025-03-13 Thread Mitch Claborn
Perfect. Thanks Ernie. Mitch On Thu, Mar 13, 2025 at 10:26 AM Ernie Rael wrote: > On 25/03/13 6:24 AM, Mitch Claborn wrote: > > I do see the highlighted methods (wavy underline of the method name). I'm > not seeing any light bulb in the gutter. > I was hoping for something that would show a l

Re: Netbeans RCP and logging

2025-03-13 Thread Bernd Köster
Ok, we'll do it this way. I hoped that one could add a configuration f.e. a logging.properties in the /etc and change the logging behavior. Bernd Köster Von: "Geertjan Wielenga" An: "Bernd Köster" CC: "NetbeansUusers" Gesendet: Donnerstag, 13. März 2025 11:28:13 Betreff: Re: Netbeans RC

Re: Allow dropping files into an OutlineView

2025-03-13 Thread avaluedcustomer
Thanks for the answer, but that doesn't look like a NetBeans Platform application using "OutlineView" Am 13.03.25 um 02:10 schrieb Tim de Vries: Sure, look at tecreations FileTool or Backup. They show the way. Tim t...@tecreations.ca On 2025-03-12 3:09 p.m., avaluedcusto...@freenet.de wrote:

Re: Netbeans RCP and logging

2025-03-13 Thread Eirik Bakke
> Ok, we'll do it this way. I hoped that one could add a configuration f.e. a > logging.properties in the /etc and change the logging behavior. What was the solution you ended up with here? I have “add timestamps to NetBeans log messages” on my TODO list myself… -- Eirik From: Bernd Köster D

Re: Find unused private methods in a class

2025-03-13 Thread Ernie Rael
On 25/03/13 6:24 AM, Mitch Claborn wrote: I do see the highlighted methods (wavy underline of the method name). I'm not seeing any light bulb in the gutter. I was hoping for something that would show a list of the unused methods in a given class, package or project. Maybe something in Source >

Re: Find unused private methods in a class

2025-03-13 Thread Mitch Claborn
I do see the highlighted methods (wavy underline of the method name). I'm not seeing any light bulb in the gutter. I was hoping for something that would show a list of the unused methods in a given class, package or project. Maybe something in Source > Inspect. Mitch On Wed, Mar 12, 2025 at 11:2

Re: Java 8 -> Java 21 supported by Netbeans

2025-03-13 Thread Maciej Jaros
This will be a time-consuming process. NetBeans can help you figure out new versions of libraries in POM files and will mark out deprecated classes. Other than that it's just tinkering from my experience. The most time-consuming part will probably be updating Hibernate and Spring if you use the

Re: Netbeans RCP and logging

2025-03-13 Thread Mark A. Flacy
Greetings, https://docs.oracle.com/javase/8/docs/api/java/util/logging/SimpleFormatter.html[1] and https://docs.oracle.com/javase/8/docs/technotes/guides/logging/overview.html[2] should provide some answers. -- Mark A. Flacy /mfl...@verizon.net/ On Thursday, March 13, 2025 5:21:55 AM CDT

Re: Netbeans RCP and logging

2025-03-13 Thread Geertjan Wielenga
Maybe: https://netbeans.apache.org/wiki/main/netbeansdevelopperfaq/DevFaqLogging/ Gj On Thu, Mar 13, 2025 at 11:22 AM Bernd Köster wrote: > > Hi Mark, > > right now we use java.util.logging and the messages are written to the > messages.log. For most entries the timestamp ist missing f.e. this

Re: Netbeans RCP and logging

2025-03-13 Thread Mark A. Flacy
Greetings, Which logging system do you intend to use? There's more than 1 and they are all configurable. -- Mark A. Flacy /mfl...@verizon.net/ On Thursday, March 13, 2025 4:29:36 AM CDT Bernd Köster wrote: > Hello, > > we are investigating the Netbeans RCP Platform for an application > dev

Java 8 -> Java 21 supported by Netbeans

2025-03-13 Thread Claus Lüthje
Hi I have a Maven-based client/server application, which is written in Java 8. The client is using JavaFX and communicating with the server using REST calls. I need to update to a current Java release. I use NetBeans since Version 7 for different employers. How can NetBeans help here? Thanks for y

Netbeans RCP and logging

2025-03-13 Thread Bernd Köster
Hello, we are investigating the Netbeans RCP Platform for an application development. We are now searching for the right approach to configure the logging in Netbeans. Our first change would be to enable the timestamp in the logging. Is there a configuration file, which can be used to change