No one is going to "give" you code. You have to show your work and ask for help with problems you are experiencing
AF Pilot
No one is going to "give" you code. You have to show your work and ask for help with problems you are experiencing
AF Pilot
Why not try the "source" of all Java --- www.java.sun.com? They have tutorials for everything in Java!
AF Pilot
Thank you, Nagy!
AF Pilot
I believe this is OK. I need to know if it is possible to draw graphics based on various conditions during run-time, but want some advice before I proceed further. Thanks.
AF Pilot
I was just using this as a generic example. The actual name is not JPanel. I was going to try and use this "JPanel" to draw graphics on and place it on another "JPanel". I think that the better approach is just to draw directly to the "JPanel" without adding a whole bunch of smaller "JPanel"s. Thanks for replying.
AF Pilot
I have a class JPanel that I want to add other JPanels onto during run-time. I can add a JPanel using the NetBeans IDE for "design", but the IDE will not let me dynamically add a new JPanel and let me position it on the main JPanel . When I look at the documentation, it appears that there are inherited methods that would allow this type of operation, such as setLocation(int, int). The IDE complains about this method, and the list of available methods that appears when editing the code, has a very limited set. Is there a way around this using the IDE? Thanks for your time.
AF Pilot
Yes. Go to "www.java.sun.com" and download, for free, the Netbeans IDE. I think you will be pleasantly surprised at just how good this IDE is.
AF Pilot
Did you think about buying it from IBM --- they just don't give away their IDE's like Sun.
AF Pilot
Well, my bad, I guess. Sorry for the mis-information.
AF Pilot
Java ME Connected Device Configuration Connected Limited Device Configuration Foundation Profile Java API for Bluetooth Java ME Content Handler API Java ME RMI Optional Package Java ME Security and Trust Services API Java ME Web Services JavaPhone API Java Technology for Wireless Industry Java TV API Location API for Java ME Mobile 3D Graphics API for J2ME Mobile Information Device Profile Personal Basis Profile Personal Java Technology Personal Profile SIP API for J2ME Sun Java Toolkit for CDC Sun Java Wireless Toolkit Software Wireless And none of these is even close to what you need? Sorry, I've never investigated the Java ME before, but I was under the impression that ALL of Java was "open-source". Is that not true for Java ME?
AF Pilot
Bactos wrote:
loanbalance = loanbalance - monthly_payment;
This is not what you want. You need something like [code] loanbalance = loanbalance - "principal" (which is part of your loan payment). [/code] So you need to figure out your loan payment (which is comprised of interest AND principal); You need to determine what part of that loan payment is pricipal and subtract it from the loan balance. This needs to be done in a loop for every month (30 years time 12 months = 360). I can guarantee you this will run off the screen page, so you need to handle that portion. An amortized loan will have large interest and small principal in the early months. In the latter months, the opposite will be true; less interest and more principal as the parts of your loan payment. Just ask anyone who has a 30 year mortgage!
AF Pilot
The last time I was on "www.java.sun.com", you could download ANY of the Java packages, including Java ME. Just look under "Downloads".
AF Pilot
No, he got f*cked!
AF Pilot
Well, there is an even easier way --- just stay at a Holiday Inn Express for one night, and BAMMO!, you are qualified to be whatever you heart desires (at least according to the TV ad). Gee, one night at, say, $100, and you're good to go. (Spelled "you're" correctly, too). :-D
AF Pilot
I think Pelosi's eyelids are taped open (or her plastic surgery wnet awry). Would be interesting to see who would actually blink first! BTW, please don't make that 84" TV an HDTV --- that would be torture! :laugh: :laugh:
AF Pilot
You don't have to develop your Java app just for the Web, you can make it a stand-alone app and run it on your PC, and if you have the PC networked (let's say to the "kitchen"), then the order can be read there and processed. I would suggest you take a look at www.java.sun.com --- there are many tutorials on there, and if you want a web-based app, they have an "ordering system" tutorial, with code, that you can base your application on. Good luck!
AF Pilot
According to Congressional Budget Office: "Correspondingly, the legislation would increase employment by 0.8 million to 2.3 million by the fourth quarter of 2009." (This is by the end of September, by the way --- a little more than 6 months out!) Well, this I have to see. There isn't enough stimuli in this bill to create 10,00 jobs by September! (Plus, in my humble opinion, this reads like Greenspan gobbledegook. I wonder if anyone can break this down into language that common people can understand?) Nothing there in this report as to how they "determine" if a job was/is created by the stimulus package. I suppose any jobs created are to be "claimed" as created by the stimulus package?? So if I go out and start a business with my own money and hire two people that are unemployed, those people count as "gained" by the stimulus package?? So why did they vote against it --- maybe because they were not allowed to have any INPUT to the PROCESS in this new "bi-partisan" administration? The Dems had to have a secret meeting to formulate this mess. Couldn't even do it in the Capitol Building! I thought bi-partisanship was going to be one of the anchors of the Obama Administration. Or has bi-partisanship been re-defined by the Democrats?
AF Pilot
LMAO! Kind of like the weather forecast ...
AF Pilot
Ed Gadziemski wrote:
However, Congressmen who voted against the Recovery bill voluntarily chose not to participate in the program so their districts should receive no funds from it
Did it ever cross your liberal mind that the reason they voted "NO" was because of all the PORK in it??? You sound like some schoolkid in the third grade. I can hardly wait to see how they arrived at the number of jobs this bill will create. Is there any explanations of just how they were calculated?
AF Pilot
Just a side note --- the B-2 bomber is an all-composite (I believe) aircraft. To date, AFAIK, there have been no lightning tragedies regarding this aircraft. And it has been flying for a number of years.
AF Pilot