Fibonacci series (1 1 2 3 5 8 13 21 34 55 89 ... )
This is the flowchart. Sorry it doesn't look nice, I made it in Raptor and edited in MSPaint. Hope it helps. If you want the Raptor file please comment in this post. Thank You. :)
Friday, December 11, 2009
Thursday, December 10, 2009
How to Check if Radio Button is Selected or Deselected in Java
***
I can't seem to find an easier way to do this, or perhaps this is the only way since RadioButton depends on the action listener. Here's my code:
private void radioButtonActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
count++;
int ans = count%2;
if( ans == 0){
//radio button is deselected
}else{
//radio button is selected
}
}
***
Monday, November 23, 2009
How to Add Formatted Text Field in Netbeans: Limit the Input in Java Text Field
---
Formatted text field is a feature in Java programming that lets you control the input in your JTextFields.
In Netbeans IDE, you cannot just edit the codes anywhere you like it if the GUI is generated by the IDE. This may mean that putting your formatting code would take you some time by overriding the class, function, etc (That's how you usually customize Netbeans - generated codes). However, there's a shorter way to do that, follow these steps:
1. Right click on the JFormattedTextField and select Customize Code
Labels:
formatting,
Java,
JFormattedTextField,
Netbeans,
textfield
Sunday, November 22, 2009
JFREECHART CLOSING APPLICATIONFRAME
-
Using JFreeChart?? Have problems in closing the APPLICATIONFRAME????
CLICK HERE.
-
Using JFreeChart?? Have problems in closing the APPLICATIONFRAME????
CLICK HERE.
-
Labels:
applicationframe,
close,
close window,
dispose,
jfreechart,
not close application,
override
Monday, November 2, 2009
Sunday, October 18, 2009
WELCOME!
Cheers!
This is me on my technical side. I will post technical stuffs here about programming and the like. Hope this blog helps. ^_^
This is me on my technical side. I will post technical stuffs here about programming and the like. Hope this blog helps. ^_^
Technical Documentation
I've read this witty article online after our Project Manager "would probably" ask us to write a documentation of our codes. This is from the site of Jeff Atwood - Coding Horror. I'd like to share this to you, hope it would "help". ^_^
Welcome to the world of technical documentation!
The situation you are in is no different from any other tech writer. The technical writing process:
- Ask engineer how the damn thing works.
- Deafing silence.
- Crickets.
- Tumbleweed.
- Just start writing something. Anything.
- Give this something to the engineer.
- Watch engineer become quite upset at how badly you've missed the point of everything.
- As the engineer berates you, in between insults he will also throw off nuggets of technical information.
- Collect these nuggets, as they are the only reliable technical information you will receive.
- Try like hell to weave together this information into something enlightening and technically accurate.
- Go to step 6.
Ok, you're not the doc writing type. That's okay, neither am I. However, people are already working to make this better, and I will continue to do so.
Well, I think I just have to learn the art of documentation. :P
Labels:
coding,
document code,
how to write,
technical documentation