Windows 8 and 8.1 Forums


started a new java program

  1. #1


    belgium
    Posts : 46
    windows 8 x64 pro

    started a new java program


    hi guys i just started a new java program(its a simple program but i am just a beginner) and you can check it out in the attachement below, if you have any tips on making it better or look better or anything else, please let me know

    the .jar is in the zip file
    started a new java program Attached Files

      My System SpecsSystem Spec

  2. #2


    Posts : 168
    Windows 8.1 Pro x64


    Looks like it does exactly what it's supposed to do, a temperature conversion. You even implemented the function inside a GUI. I'd say you're off to a good start for a beginner.

    A coincidence, actually. I'm studying Java right now as well. I studied it once before, but I got sidetracked and didn't start studying it again until recently. I started over with a new Kindle book -- Sam's Teach Yourself Java in 21 Days. It's a great book, and so far I'm coming along okay. In fact, one of the examples that I typed in did the same thing your program does.

    Heck, I'm sure as you become more proficient in the language you can add all kinds of bells and whistles to this little program. Maybe make the conversion go both ways, add some color, allow the user to copy the result to the clipboard, who knows?

    Good luck.
      My System SpecsSystem Spec

  3. #3


    belgium
    Posts : 46
    windows 8 x64 pro


    Quote Originally Posted by msdos622wasfun View Post
    Looks like it does exactly what it's supposed to do, a temperature conversion. You even implemented the function inside a GUI. I'd say you're off to a good start for a beginner.

    A coincidence, actually. I'm studying Java right now as well. I studied it once before, but I got sidetracked and didn't start studying it again until recently. I started over with a new Kindle book -- Sam's Teach Yourself Java in 21 Days. It's a great book, and so far I'm coming along okay. In fact, one of the examples that I typed in did the same thing your program does.

    Heck, I'm sure as you become more proficient in the language you can add all kinds of bells and whistles to this little program. Maybe make the conversion go both ways, add some color, allow the user to copy the result to the clipboard, who knows?

    Good luck.
    thanks man, good luck with your studies .
    but how do i change the color?
      My System SpecsSystem Spec

  4. #4


    belgium
    Posts : 46
    windows 8 x64 pro


    hey man could you help me out here, i am making it able to calculate both ways and i want to have the radiobutton that calculates celcius-->fahrenheit set as checked when to program starts but i cant find help online so i will ask it here , ive put a new .jar in the attachement and this is my current code for that button

    private void celciustofahrenheitActionPerformed(java.awt.event.ActionEvent evt) {

    boolean JRadioButton = true;

    }

    that boolean thing i found online but i dont think its right .so could you help me out here
    started a new java program Attached Files
      My System SpecsSystem Spec

  5. #5


    Posts : 168
    Windows 8.1 Pro x64


    Oh gosh, you know what, I'd really like to help, but I haven't reached the part of my book yet where it discusses how to build a user interface and change color and stuff like that. I'm still learning about classes in general.

    I downloaded your updated program, and I see what you are trying to do. I assume you want one of the radio buttons to be selected by default, and only have one radio button selected at a time (right now you can choose both of them, which I assume you don't want).

    Plus, I think to really get an idea of how you are doing this, I'd have to see the source code.

    You know what, I know of a great site called Programmer's Heaven that has active forums for every popular programming language. If you just go there and look in the Java forum, maybe you can ask for some help from people that know more than me.

    Here's the link: Programmer's Heaven - Ruby, .NET, C#, C++, PHP, Python, Java - It's all here!
      My System SpecsSystem Spec

Related Threads
Hello, I'm looking for a command prompt script or other file to be able to manually enter a time to run a file. The idea I'm looking for is to execute the script or other file, enter a time into a pop-up prompt (i.e. 9:24) and have the computer execute the file at that time. I'm looking...
Solved The service cannot be started in General Support
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. I think this was "Application information" service. The problem is that now I can't run app called TurboService Manager to backup, services.msc, regedit, elevated cmd to use "net...
Hello friends My program and features list is emptied by malware but all programs are working normally. Please help me how do I re-entry the deleted (not uninstalled) programs' name in the control panel program and features?
I have three Autohotkey exe files in my appdata Startup folder of my laptop but they do not get started when Windows starts. Those same three files on my desktop in the same place start and run just fine. Each machine has the same version of Win8, Home Premium 64 build 9200. If I open the...
Here is some help to get started in Installation & Setup
More...Windows 8 shortcuts and secrets (Developer Preview edition) | ZDNet
Trouble getting started in Installation & Setup
I'm a newbie here but not new to beta testing, VMs, etc. So when I read that 7955 will not run on VMware I got VirutalBox and installed that. My first attempt to install Windows 8 went down in flames with the black screen and some garbled text. I set VBox to Windows 7 and booted from the ISO...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook