No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey guys for some reason my code displays in the applet viewer in jgrasp and in eclipse, but for some reason it wont display via an html file in any browser. Any Ideas? Thanks in advance. [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.applet.*; public class FamilyTreeTabbedPane extends JApplet implements … |
|
Im having a bit of a problem with my binary search tree. For some reason my pointers arent connecting correctly. I'm pretty sure everything is correct but when i run it I keep getting this as the result. It inputs the numbers 1 5 7 9. [CODE]void insert(string word,vector<treeNode> &x) … |
|
Hey for some reason my rectangles are being drawn after the start variable has been incremented all the way through. This is causing them to go off the screen. What i wanted, is like in the code, i want it to draw, increment draw increment until the loop is finished.[CODE]import … |
|
Hi guys I need help getting an event from a button in one class, so that i can act upon it in my other class. Because the class that invokes the class that has the buttons in it is the outer class, it has no access to the buttons on … |
|
This is my overloaded Jpanel i want to pass the event of the buttons, so that i can change the text in the jLabel in my main class listed below. [CODE]import java.util.Scanner; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class Keypad extends JPanel{ private JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12; public Keypad() { setLayout(new … |
|
My file structure is Project data sort main.cpp code as follows [CODE]#include <cstdlib> #include <iostream> #include <fstream> #include <string> #include "genlist.cpp" #include "genstring.cpp" using namespace std; int main(int argc, char *argv[]) { ifstream in; ofstream out; int unique=0; GenList<string> gList; gList.checkFileOpen(in,out); gList.populateNUnique(in); gList.sort(1); gList.output(); in.close(); system("PAUSE"); return EXIT_SUCCESS; } [/CODE] … |