• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

need help with visual midlets in netbeans.

Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am so confused with what to do with visual midlets.

I figured out how to use the gui builder what is extremely cool but I don't know how to expand on to it and write my own code.

Like for example I put a gauge on it and I made it interactive(I checked the checkbox) and it works when I run it and everything but the thing is what happens if I wanted to make the gauge go up by 2 instead of whatever it goes up by now.

I would not know where to even to write the code since 90% of all the code in the source directory can't be edited. Or what the code would look like.

One of my assignments I have to do is have 2 labels and the first label will go really fast and count to like 10. The other label will go slowly up by 10. When the first one is 10 ahead of the second label it stops and waits for the other one to catch up.

My instructor has gone though how abouts to do this(use of threads).

Now he does not really use netbeans so he does not really know how to start adding code to the source code. He said it's alright to use netbeans/gui builder.

So my question is where would I be writing the code of the threads and how would I connect it to the labels or whatever I am going to use.

Like there is so many grayed out areas in the source code and when you look at them they got like pre-int code here or write post-init user code here.

so I am really confused. It's not like C# where you got separate files for each.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic