Skip to content
Advertisement

Tag: netbeans

Draw an ERD from Hibernate Mapping Files

I know it’s possible to reverse engineer from the database into mapping files but does anyone know if it’s possible to get hibernate to draw an ERD based on its own mapping files so that I can compare Hibernate’s ERD with the Databases one? Answer I achieved this by using: in my hibernate.cfg.xml Then I used MySQL Workbench to reverse

Netbeans IDE – Automatic Suggestion while typing

hi i am using netbeans 7 IDE for java programming , and i am acutally a C# programmer and in visual studio whenever i type anything it displays a dropdown menu with suggestions , i want that to be enabled on netbeans IDE without having to press CTRL + Space to show the dropdown menu thanks in advance . Answer

How netbeans stops a run?

I’m programming with Java in Linux using Netbeans 7 and as my program (sometimes) could not exit (not in this eon, maybe) I create a thread to handle shutdown But when I launch the code with netbeans (F6) and stop it through the “STOP” button the thread is not created; but if I run the program through the terminal and

“Uncompilable source code” RuntimeException in netbeans

I’m trying to help another developer who is using Netbeans. When he runs or debugs some code of his in Netbeans (6.9.1) he gets an “Uncompilable source code” RuntimeException. I’m pretty experienced in Java but am more used to IntelliJ, and haven’t used Netbeans at all. I’ve done it a bit of googling and it seems Netbeans will compile code

How to calculate the number of lines in a “Java Project”

How can I calculate the number of lines in a “Java Project”? I’m using Netbeans 6.9. Answer Have a look at the NetBeans Metrics Module. NetBeans Metric Module is a module for NetBeans that can measure your java source code and display the results in NetBeans. Or the wordcount plugin. Counts characters, words, and lines of java files

Using the NetBeans GUI editor, how can I create a JTextField or JFormattedText field that must be validated against a regular expression?

I have a regular expression (d{4}w{3}(0[1-9]|[12][0-9]|3[01])([01][0-9]|2[0-3])([0-5][0-9]){2}) that I need to validate the input of a text field against when the user clicks the OK button or moves the cursor to another field. That I know how to do, writing the code. However, I’m interested in if it’s possible to have the NetBeans GUI editor do some of the work for

Advertisement