Programming
My methods to boost up my programming speed (implementation level)
Mar 11th
As the time goes, programmers learn new methods and tricks to reduce time needed for starting new projects. Such thing makes programmers focus on problems instead of codes.
Today I am going to share with you some of the methods I am using to reduce time required to build new projects:
Practice typing
Keep this in your [...]
Web page invoker using java
Mar 11th
Hi,
as a programmer there are a lot of problems to face. Fortunately, solutions exist no matter how big is the problem. In my case efficiency is not that big deal, so please ignore the algorithms complexity and other geekly stuff
The problem that made me write this article is:
We have a folder (A) [...]
Binary, Octal, Decimal and Hexadecimal converter(Java)
Feb 22nd
I was working on a simple project that simulate CPU registers, where users can use an assembly-like commands to issue some process while watching changes on the virtual CPU registers.
you may visit it using this link: http://www.doitmyway.net/2010/02/21/cpu-registers-simulator-educational-project/
In fact CPU data are in binary, although users may want to read those data in different format. So [...]
add jFileChooserFilter to your java code
Jun 21st
Hi,
Today I am going to show the way to use JFileChooser with FileNameExtensionFilter. This is very useful for building user friendly applications. FileNameExtensionFilter is used to tell which files extentions are allowed for the jFileChooser. This will make files with specific extensions appear and all other files disappear from the jfilechooser dialog.
First of all we [...]
convert images using java imageIO
Jun 14th
Hi all,
I learned how to use java ImageIO to convert images formats. It makes me happy, so I wanted to share my experience with all of you.
As NetBeans told me, ImageIO is a class containing static convenience methods for locating ImageReaders and ImageWriters, and performing simple encoding and decoding. ImageIO supports most common formats such [...]
java imageBox (0.0.6)
May 28th
hi all,
this is the new virsion of java imageBox. it is numbered as 0.0.6.
compared to older versions, this one has more flexiblity. add to that, it supports design time image rendering.
you can download it from this link: imagebox(0.0.6)
here are the steps to add imageBox to your netBeans project:
create new project
add new Jframe to [...]
get machine local time using c++, windows only
May 1st
hi all,
here are some c++ codes to show local time of the running machine.
download time.cpp
#include <iostream>
#include <windows.h>
using namespace std;
int main(){
SYSTEMTIME time;
GetLocalTime (&time);//(c++)
cout<<time.wHour<<”:”<<time.wMinute<<endl;
cout<<”——————–”<<endl;
system(“time /T”); //(dos)
return 0;
}
