Warning
Why isn’t this handled automatically when moving a project from a previous JDK(10 to 12)? I would think especially when doing a Clean & Build using the latest version of the IDE(10.0 to 11.1). I’ve just recently begun using an IDE and have experienced several similar problems that I think should be handled by NetBeans. I expect problems like this when using the command line. warning: [options] bootstrap class path not set in conjunction with -source 10 1 warning Best Regards, Michael
Re: Subscribe
Me too Best Regards, Michael On Aug 21, 2019, 23:10 -0700, Tobias Oelgarte , wrote: > I have the same issue. It's now the second time that i get this bouncing > message. > > Am 21.08.2019 um 06:11 schrieb Efrem Mc: > > Subscribe > > > > > > Not sure why it is bouncing > > > > >
Re: Run
I went back to 11.0 and they all run fine. Best Regards, Michael On Aug 18, 2019, 3:40 PM -0700, mmo...@me.com.INVALID, wrote: > I’ve done something simple but I don’t know what. > > I’m using 11.1 and suddenly none of my projects run anymore. > > They build but don’t run. > > Best Regards, > > Michael
Run
I’ve done something simple but I don’t know what. I’m using 11.1 and suddenly none of my projects run anymore. They build but don’t run. Best Regards, Michael
Nashorn
I keep getting this warning: Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release Warning: Nashorn engine is planned to be removed from a future JDK release I understand the Nashorn engine has to do with Javascript which I’m not using. This is the only project I’ve created using module-info.java. Could this be the reason Why? Is NetBeans using JavaScript for something? Best Regards, Michael
Update Center
Here’s a screenshot of the available plugins. Where is the update center? Best Regards, Michael 20190804 - ScreenShot - Available Plugins.pdf Description: Binary data - 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
C++
I’m using NetBeans 11.0. Is C++ no longer supported? I can’t seem to find the PlugIn. Best Regards, Michael
Re: JTable - Null Pointer - GUI editor
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
JTable - Null Pointer - GUI editor
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
jFrame - jDesktopPane
I’m new to NetBeans GUI design and of course I’m having a problem. I created an Ant JFrame project and put a JDesktopPane on top. I’ve dragged 2 internal frames, a panel and a couple of buttons. Looking at the source variables have been generated but they are not visible in design mode. I’ve searched a bunch of websites including NetBeans but have been unable to find an answer. What simple thing am I missing? Michael There are 10 types of people in the world, those that understand binary and those that don't.
jTestField
I hope you folks will bear with me. It’s been 12 years since I retired and used Java and I never coded the GUI. My job was the backend. I’ve designed the form using NetBeans and it does most of the work. But I’m having trouble with events and focus in jTextField. Entering data and depressing entry allows access to the contents the user has entered but doesn’t go to the next field. Depressing tab moves the focus to the next field but does not allow access to the data in the first field. I’ve tried to find a .setFocus and am rewarded with about 6 options none of which do what I want. I have searched docs and tutorials and obviously not found the right one. Any help will be appreciated. There are 10 types of people in the world, those that understand binary and those that don't.
jdbc
> Thanks Juan, you’ve helped an old dog learn new tricks. > > Michael > > Hi, > > I’m using MySQL driver in several projects with Netbeans 11 and I have no > problem. > > Perhaps you are using > > Class.forName(“com.mysql.cj.jdbc.Driver”); > > that is not necessary any more? > > You only need add the MySQL jar to the libraries of the project. > > Best, > Juan Miguel There are 10 types of people in the world, those that understand binary and those that don't.
jdbc
I keep getting java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver. in both 10 & 11. I have no trouble connecting through services. I have looked everywhere and followed numerous examples and tutorials but to no avail. When I started I had a full head of air, now I’m almost bald. HELP There are 10 types of people in the world, those that understand binary and those that don't.
jdbc
OK, simple question, I keep getting java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver. in both 10 & 11. I have no trouble connecting through services. I have looked everywhere and followed numerous examples and tutorials but to no avail. When I started I had a full head of air, now I’m almost bald. HELP There are 10 types of people in the world, those that understand binary and those that don't.