Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need help with visual midlets in netbeans.  RSS feed

Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!