whats the best way to make gui programs write all code your self or use the gui creator from netbeans?
dont you get crappy code from the creator ?
Netbeans is arguably easier but you will learn more by designing GUIs by hand. Sometimes netbeans has a difficult interface to use, but for most issues, it is probably easier. I prefer not to deal with the netbeans issues though, and I do it by hand.
Same over here. Even though I work in industry I still consider my self learner and do most thing by hand...
In my experience hand coded user interfaces are usually easier to maintain and perform better than machine coded ones.
That said, the initial cost of developing them can be higher, especially if the people doing it aren't experts in the use of Swing (or whichever library is used).
For myself, I usually create the initial screen layouts using a graphical editor (usually IntelliJ these days, but have used Netbeans and JBuilder in the past), then modify and expand on that code by editing the generated files by hand (often to the point where little of the original code is left and the graphical editor doesn't understand anything about it any longer).
That gives me a working prototype quickly, while still yielding the benefits in maintainability and flexibility of handcrafted code.
Of course doing so requires a certain level of experience in handcrafting GUI code, which is hard to get without actually writing that code from scratch.
It is therefore vital (and tutorials often seem to forget about that) to teach people to write code by hand before showing them how to do it using some tool (but then, the people writing those tutorials often do so with the idea to push the tools sold/provided by their employing companies as at least part of their incentive to create a tutorial in the first place).
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked:
Private Sub btn_addline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_addline.Click Dim txtB1 As New TextBox Dim i For i = ...