From: Daniel R. <dr....@co...> - 2009-08-09 16:36:49
|
Hi Peter, Thanks for the bon appetit! I'm in Italy, so free pizza is even better :) I do NOT use (nor believe in, but I could be convinced) any Swing designers. I wrote all of my Swing code by hand, using the designer in JBuilder (still out there somewhere) to figure out how to do certain things layout-wise. I don't know the state-of-the-art regarding Swing designers (nor have I ever looked at Netbeans for anything but straight code/refactoring/SVN), but my opinion from what I've seen is that it's hard going. Real code always causes designers to break. (Irrelevant but noteworthy: .Net winforms designer in VS2005 or 2008 is great, and can handle your code moving forward). Out of curiosity: what is wrong with the initComponent? It's probably called by the constructor, and if not, you can always make it public... That said, if I were to do any Java projects right now, I would take a serious look at whether the UI could be done with QT or something. *Not sure if that would jive with the Swing stuff that JSynth is already using.* Best, Daniel On Sun, Aug 9, 2009 at 5:50 PM, Peter Geirnaert <pet...@gm...>wrote: > Hi > > On Sat, Aug 8, 2009 at 5:25 PM, Daniel Rosenstark < > dr....@co...> wrote: > >> Hello all: > > >> >> About a year ago I started with JSynth and then ended up giving up and >> creating my product as a standalone Java app ( >> www.confusionists.com/handsonic). Now I've given up on hardware entirely, >> so >> I'm out of the JSynth game completely. Which is not really relevant :) >> (BTW, >> the product receives tons of downloads and I've even made enough to buy a >> few pizzas in the last year.) > > > Good luck and 'bon apetit' ;-) > > Regarding the Java question, I just wanted to plug Netbeans[snip] > > > > I see the Netbeans (6.0.1) GUI builder is using private void > initComponents() { ... } > to initialize forms. > That's probably not a good idea, to start using the Netbeans way of > building a GUI for a JSynthLib driver. > Also, I couldn't find the Widgets provided by JSynthLib, only DKnob seemed > available, > to import in the 'palette'<http://wiki.netbeans.org/FaqFormUsingCustomComponent>. > Some tools for building the GUI in an IDE would be handy imho. > For now, I'm just using Gimp <http://www.gimp.org> and it's layers to sketch > a lay-out <http://spd-11.wikispaces.com/file/view/PatchEditorGUI-3.png>for my Roland SPD-11 driver. > A .zip containing .png pics of the components made available by JSynthLib > would be easy to get started quick (using photoshop or gimp). > > I don't know if I should start a JSynthLib topic on java-forums<http://www.java-forums.org/>or > sun-java-forums <http://forums.sun.com/> or ask my questions here, > actually, after finishing my driver project, I can imagine I wouldn't go > looking again for answers to questions posted on this list. But Java lovers > (or how should I call them) on a java forum might do some research for > newbies simply out of interest for Java code. > > > >> >> Best of luck, >> Daniel >> > > Again, good luck to you too, I hope your few pizzas will taste very good. > Peter > > |