hanzechin's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 7 (0.03 per day)
- Joined:
- 01-October 12
- Profile Views:
- 175
- Last Active:
Oct 15 2012 10:48 AM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: Java Tabbed Pane GUI
Posted 15 Oct 2012
Bump, can anyone help? -
In Topic: Java Tabbed Pane GUI
Posted 11 Oct 2012
socks1825, on 01 August 2012 - 06:43 PM, said:
sas1ni69, on 20 April 2011 - 06:31 PM, said:Hi
I have a little question. Might even seem sill too. Can I just ask why would you import the J Extensions seperately if you're going to import the entire swing lib?
import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTabbedPane; import javax.swing.JButton; import javax.swing.*; import java.awt.event.*;
Is there a reason behind it? Thanks.
I have a question about the tabbed panes for GUI. I looked at this tutorial and it makes sense how to set up the tabs. What I am confused about it where do I put my program for each tab?? I have the code working but I don't know where to place it to get it in a tab. If anyone could just help direct me on where to insert my code that would be much appreciated.
I'm sorry if i'm bring up an old thread but...
I've the same problem as this...Please if someone would be willing to explain i'm all eyes
-
In Topic: Difficulties running the .jar files
Posted 1 Oct 2012
Sorry for the double post coiuldn't find the edit button (it's not getting late a bit tired probably will go to sleep soon to look at the code with a fresher eye in the morning.) I've now looked up this video and has taken the liberty to follow this guy's way to export the Java file. http://www.youtube.c...h?v=RbhJ9sTMTD8 And realized here's the problem that's popping up for me.
Jar export finished with problems. See details for additional information.
Could not find main method from given launch configuration. -
In Topic: Difficulties running the .jar files
Posted 1 Oct 2012
fromTheSprawl, on 01 October 2012 - 08:02 PM, said:How do you run it? How do you export it? What's the error? I've successfully created a jar file of your program using Eclipse.
Well to be honest this is my first time attempting to export a java .jar file so i went through what I felt was obvious via Eclipse. File->Export->Java->Jar File and save that to desktop and attempt to run it and it says. Failed to load main class mainifest attribute from (where ever I've saved the .jar file)
Kakerergodt, on 01 October 2012 - 09:00 PM, said:If you're gonna create a jar with a simple commandline use of javas jar.exe then drop the line with package in it, and it runs fine.
Edit: it's ofcourse possible to get it to run with the package line without the use of an IDE like NetBeans or Eclipse, but it's a bit more complicated so unless you need it, skip it.
Java's jar.exe file? would that be similar to droping it into a command prompt? My .java file that is? I'd prefer to learn the method of getting the package line to work via Eclipse or if it must be netbeans
.
-
In Topic: How to go about the task of Integer.parseInt with Doubles instead?
Posted 1 Oct 2012
Wow how silly me I should've thought of that that was one of instead of Double.parseDouble i did double.parseDouble all this time no wonder my code was faulty thank you guys for bearing with me.
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Click here to e-mail me
Friends
hanzechin hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
hanzechin has no profile comments yet. Why not say hello?