Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Tags
java x 14
c++ x 3
Member Avatar for arcticman452

I am building a game similar to the tron game. I want to use the arrow keys to control the movement of the player. I do not have all the code completed but attached what I have so far. #include<iostream> #include<string> #include<conio.h> #include<Windows.h> #include<cstdlib> #include<ctime> using namespace std; //Declarations bool …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for arcticman452

I am trying to make a login screen for my android app. I enter to correct username and password and I get the toast message saying I have the wrong username or password. I've tried everything I can think of to try and fix this and thought I would ask …

Member Avatar for peter_budo
0
102
Member Avatar for arcticman452

I am writing a program that calls the memory address of different variable types. I am having troubles with getting the address locations for my array and my char pointers. Here is what I have so far: #include <iostream> #include <string> using namespace std; int main() { const int NUMBER_LIST …

Member Avatar for arcticman452
0
149
Member Avatar for arcticman452

I am building my very first android app on eclipse for a school project. The main screen has 5 buttons on it and when clicked, you are brought to a new screen with the same name as the button. This new screen has a close button that brings you back …

Member Avatar for arcticman452
0
118
Member Avatar for arcticman452

I have a program that figures out what the total cost for gas is on trip. I now have another piece made where you enter the trip data to save it to a file. How do I make the main program call this new window so the user can enter …

Member Avatar for arcticman452
0
127
Member Avatar for arcticman452

I have 2 JComboBoxes that are using an itemListener, right now the code I have compiles but when I call for tankSize and fuelCost to complete my calculations nothing is returned and my answer is always zero. What do I need to change so the variables transfer to tankSize and …

Member Avatar for arcticman452
0
128
Member Avatar for arcticman452

My program compiles but when I fun it I cannot get the city from the JComboBox to show in my JOptionPane. It shows up as "null" and when I click the clear button, nothing happens. I'm not sure how to fix these two problems. Here is my code: import java.io.*; …

Member Avatar for radhakrishna.p
0
160
Member Avatar for arcticman452

I have the main part of my code done but I don'T know if I should use an action listener or an event listener for my JComboBox. I have 4 JComboBoxes and only need to retrieve the info from my vehicleBox and fuelBox at this point. I need to take …

Member Avatar for jalpesh_007
0
199
Member Avatar for arcticman452

I cannot get this to show up when I run it and I can't figure out whats wrong. import java.applet.*; import java.awt.*; import java.awt.event.*; import java.text.*; import javax.swing.*; public class TravelCostEstimator extends Frame implements ActionListener,ItemListener { //This part defines how the program will look Panel partOnePanel = new Panel(); Label …

Member Avatar for arcticman452
0
209
Member Avatar for arcticman452

I am trying to get the ItemListener to work on this program. I keep getting an error that says the method getSelectedItem cannont be found and cannot figure out how to fix it. import java.awt.*; import java.awt.event.*; public class Buttons extends Frame implements ActionListener, ItemListener { public Buttons() { //set …

Member Avatar for mKorbel
0
126