rdbramble opened a new issue, #6861:
URL: https://github.com/apache/netbeans/issues/6861

   ### Apache NetBeans version
   
   Apache NetBeans 19
   
   ### What happened
   
   New JFrame form command results in a form with code that's garbled. Partial 
example follows:
   
   /*
    * Click 
nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change 
this license
    * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to 
edit this template
    */
   ackage
   
   inf;
   
   /**
    *
    * @author danie
    */
   public class NewJFrame extends javax.swing.JFrame
   
   /**
    *
    *     * Creates new form New
    * Frame
    */
   
   public
       ewJFrame()
       {
           initComponents();
        *     }
   
   
   
   ### How to reproduce
   
   select package right mouse click -> New -> JFrame Form. The resulting code 
cannot be compiled as is. I even downloaded NetBeans v20 and the behavior is 
there too. I don't do this very often but the last time I did it worked fine 
I'm thinking that was at least a couple versions ago.
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 17
   
   ### Operating System
   
   Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb)
   
   ### JDK
   
   15.0.2; Java HotSpot(TM) 64-Bit Server VM 15.0.2+7-27
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   I'm able to reproduce this issue.
   
   ### Are you willing to submit a pull request?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to