Hi all.... I am new in Java Programming and need your help for the following :

Convert binary numbers to decimal.
The program should prompt user to enter the number. Upon clicking the button, the program should display the number, the positional wightage of each digit of the number ( I have done some researched n found that i have to use pow method for this....is this correct??? ) .........and the decimal equivalent of the number.

Please help. I really appreciate it.