K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
K. Tsang wrote:The title is not changed in the source but in the "resources" section. Using default project name the properties file is "DesktopApplication1.properties" then look for Title.
However, if you are learning Swing, I don't recommend using the Netbean's desktop application generator. You may want to look at the Java Tutorial.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
That is completely untrue. In GUI programming tools must be used. I don't want to spent my life to refactor a gridbaglayout when inserting a new control. In the company I work a smarty guy took the decision to use Eclipse SWT without GUI tools. I spent a day to modify a dialog box because of layouts.K. Tsang wrote:This is why doing GUI programming with design mode isn't good. Check out Swing tutorial to do GUI with source.
Aurelian Tutuianu wrote:
That is completely untrue. In GUI programming tools must be used. I don't want to spent my life to refactor a gridbaglayout when inserting a new control. In the company I work a smarty guy took the decision to use Eclipse SWT without GUI tools. I spent a day to modify a dialog box because of layouts.K. Tsang wrote:This is why doing GUI programming with design mode isn't good. Check out Swing tutorial to do GUI with source.
If the Netbeans model of GUI code generation is the best model or not, that's arguable. But not using tools at all for GUI design is wasting time.
I did not state that is good for Mike to learn from tutorials. I argued only against the statement that "GUI programming with design mode isn't good". Which still I believe is wrong. Still, Netbeans, for the ones who try to learn swing is a good starting point because you learn from creators how they do things. If you really want to learn.pete stein wrote:This is all debatable, and many can marshal good arguments for both sides. Myself, I find that when newbies to Swing use NetBeans to generate their code, it seems to actually inhibit their learning of Swing, as if shielding them from the details also inhibits their curiosity thereby slowing down their learning. My own opinion (FWIW), is that NetBeans is an OK tool if you already are pretty well versed in Swing, but it should not be used by beginners if they are desiring to learn Swing.
Let the flames come...
Aurelian Tutuianu wrote:In your particular case, the deleting of progressBar is not removed from all references just because the wizard don't manage the content of contructor. That form is a template, somethings meant to learn from. I don't say that wouldn't be nice to remove references from code.
K. Tsang CEng MBCS PMP PMI-ACP OCMJEA OCPJP
Aurelian Tutuianu wrote:Still, Netbeans, for the ones who try to learn swing is a good starting point because you learn from creators how they do things. If you really want to learn.
eat bricks! HA! And here's another one! And a tiny ad!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
|