- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Student
- Interests
- Working out, anything sports related (except soccer), anything science (mainly psychology), and anything…
- PC Specs
- Shitty
I am starting to try and learn how to use the google app engine with java. The first roadblock I hit (seems trivial but I can't find an answer anywhere) is logging in. I know how to use the screen google provides you (userService.createLoginURL(req.getRequestURI())) but that only gives you a … | |
Okay so I posted my [URL="http://www.daniweb.com/forums/post936498.html#post936498"]first large project[/URL]a few weeks ago (2 or 3 i think) and now I finished another one! It is smaller then the 1st (about half the size) but still pretty cool I think. Anyway. It is called uCount and it is something I put together … | |
Okay I would like to set a Mnemonic for a JButton so that if I press the right arrow key the button will be activated. However I can not find what the command for that would be. Right now I have it so that you can hold down alt+Right to … | |
Okay so when I open a file and I would like to pickle something to the file you are supposed to open the file in 'rb' (read binary) mode to load stuff from it. If you want to dump something the file is supposed to be in 'wb' (write binary) … | |
Okay just started teaching myself python recently and am on to pickling stuff. I just wrote a simple program exactly like the tutorial said (a few different ones actually) and I am getting an error. Here is my code: [CODE] import pickle file = open('./text/pickle.txt','w') list = ['one',2,'three',4,'five'] pickle.dump(list, file) … | |
Hey all. this is my first day python programming (been programming java for almost a year tho) and I was trying to put together the classic "shout" method. so far it is like this: [CODE] import time def shout(string): for c in string: print("Gimme a " + c) print(c + … | |
I think all together its about 2000 lines of code give or take. Took me a good 2 weeks to complete. The program is called Character Creator. What is does is basically creates characters with skills / stats / attributes and a custom image that you provide. There are a … | |
Okay so I am in a Data Structures class and am working on Binary Trees now so I figured I do a little project on the side to experiment. So I have a frame pop up when the program starts and it has a bunch of information to enter in. … | |
Okay so I have a screen with a toolbar on the top (BorderLayout.NORTH) with about 5 buttons. What I want to do is be able to switch back and forth between JPanels with each button click. so each time I click one of the buttons a new JPanel appears in … | |
Okay so i am having a little trouble with my JFormattedTextField. I figured out how to work the MaskFormatter somewhat but not great. the formatting is fine, like when I want to restrict a field to only 15 characters that works but when I move the cursor to another field … | |
Re: Okay so I picked up computer science as a major late in my college career and plan on cramming a lot of classes in my senior year. My question is when I get out of college and have no experience outside of the classroom what can I expect/hope for as … | |
Hey guys. In my Data Structures Class today somehow we ended up talking about the Monty Hall Problem for a little while. Anyways I got bored and wrote code to statistically check if it is correct (even thought I know it is). For those of you who don't know what … | |
Okay so I found some code online to create a simple chat server and I was trying to teach myself with it. I have a few questions though. First off here is the code: [B]ChatServer.java[/B] [CODE] import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import java.net.ServerSocket; import java.net.UnknownHostException; import java.util.Scanner; public class … | |
Re: What exactly is the question? | |
Okay so I have an ellipse and I could like to have a "racecar" (actually just a 10x10 rectangle) follow the ellipse around the edge. The point that is always touching the ellipse is the upper left hand corner of the "racecar." I'm not even sure where to begin writing … | |
Okay I have a finished program that does the job of what I want to to do but it seems so messy. Could you guys gimme some suggestions about how to make this code more efficient... or just neater in general. Much appreciated and thanks in advance. [CODE] import java.awt.*; … | |
Hey everyone just joined dani web today. Looking forward to contributing to an already awesome community. I've been learning java for the last few months at school and this is really the only language I know right now although I hope to learn c++ and python later. | |
Re: I'm not sure I understand how the program works anyway. What would you put in a main function in order to do something with this? What do the parameters mean for Election? Like I would put this in main: new Election(??,??,??,??,??,??); But what is supposed to go in the parameters? | |
Re: [QUOTE=BestJewSinceJC;817665]If you want help, then identify, specifically, what you are trying to do and why it does not work. We aren't going to scour your program for errors and give you answers. We will help you if you specify what you need help with. Start by dividing your payscale program … | |
Okay I am writing a program that, in the end, will bring up a GUI window and ask the user what type of shape they want to make. The choices are line, circle, ellipse, rectangle, and polygon. When the user selects a shape they are then asked some key information … |