Dynamically created variables
I am writing a web app to assist in students in one of the programs at school. THIS IS NOT HOMEWORK. I am learning web apps however and have run into an issue that I thought was possible and now I am...
View ArticleNot sure how to approach next step in grade prediction program?
Okay so im working on a program for my Java1 class and its something we get to make that we can use personally, so im making one that will tell me grades, basically ive got the first parts as far as...
View ArticlePassing instance variables to derived class
Hello everyone I have did good so far with this program but the only thing that is confusing me is passing the instance variables from the base class to the derived class. I need to get the instance...
View ArticleCalling a Function in a class?
Would anybody be able to explain to me how I would call my functions in my class from my main, cause currently my only function that is displaying to the screen is my main. I know how to call a...
View ArticlePrint Matrices Side By Side
Current Code: import java.util.Scanner; public class Prog7i5 { public static void main(String[] args) { //Declare matrices double a[][] = new double[3][3]; double b[][] = new double[3][3]; //Ask for...
View Articlehtml_entity_decode?
I use php to read and write out html code, but it contains "&""#038"; which I suspect is what makes flash player not work (in IE, although it works on Firefox)? document.write('<embed...
View ArticleJava Wages Calculation
Hi There, I need help with an assignment I have... The assignments description is: You just started working as a programmer. You are paid $10 an hour, with a few exceptions. You earn an extra $1.50 an...
View ArticleTaking String as input and checking for Value
Hello, I'm trying to create a program where the user selects a level of a game (the game program works fine). There are three levels: ONE, TWO, and THREE (case sensitive). The idea is that if the user...
View ArticlePROGRAMMERS NEEDED
Ive been trying, but completely failing! on this project of a duel simulator im trying to create! any suggestions on what i should do? to get started, what to use? and how to upload it to my website?...
View Articlekoch snowflake in JAVA
i have a program that recursively produces the koch snowflake on the click of a button. Im stuck at my last method. import java.awt.Graphics; import java.awt.Graphics2D; import javax.swing.JComponent;...
View ArticleDueling Simulator :
so i've been trying to create a complete dueling simulator for !Yu-Gi-Oh!, for some that don't know what a dueling simulator is please view this link if it makes it a better description of what im...
View ArticleGetting Garbage values for User ID, and how to read profiles off file?
Hey all, into phaseII with this program for my C programming class. This is basically an employee sign up/sign in program for an imaginary company. Part of my requirements are to strcat() the first and...
View ArticleConverting Java codes into C#
Hi, I have to convert some Java codes into C# (I'm using Visual Studios) I am really confused on C#'s arrays. This is the java version: public class Character { //non-relevant codes here private Skill...
View ArticleBoolean Method positive Integers!
I need to make a boolean method that reads a original array and a subarray and determines if it contains any positive integers! import java.util.*; import java.util.Random;//for Scanner public class...
View ArticleSerialDataReceived not working.
Hi! I'm having trouble getting my code to receive serial data in and displaying it. I know that the port is open and works because I can send data out/in using another program. I have a USB to Serial...
View ArticleImageIO.read error
Im getting an error here with ImageIO.read and is there anyway to do try and catch, I guess you have to do it anyway with URL...could comeone help me please...thanks import java.awt.BorderLayout;...
View ArticleAuto Fill In TableLayoutPanel
Okay so I am working on a project that uses a lot of checkbox controls. That are inside a tablelayoutpanel. The thing is that the table will have 3969 checkboxes. Is there a way to make it so all the...
View ArticleChange Desktop Wallpaper
I've done quite a search on how to Change The Desktop Wallpaper with the click of a button but can't find much. Could someone help me out with this? Thanks
View ArticleUsing Functions w/ Classes && Saving Data to Class
I've having a decent amount of trouble with classes and objects at the moment. I've looked all around, and I can't really find any sample code that applies directly to what I'm doing. Here is my code:...
View ArticleFind the missing number of an array.
I'm trying to find out what numbers aren't in my array of a 100 numbers called 'stats'. I'm writing a method that would count the amount of times each number appears and place a counter on that number...
View Article