Questions tagged [jgrasp]

jGRASP is a lightweight development environment, created specifically to provide automatic generation of software visualizations to improve the comprehensibility of software.

jGRASP is a lightweight development environment, created specifically to provide automatic generation of software visualizations to improve the comprehensibility of software.

jGRASP is implemented in Java, and runs on all platforms with a Java Virtual Machine (Java version 1.5 or higher). jGRASP produces Control Structure Diagrams (CSDs) for Java, C, C++, Objective-C, Ada, and VHDL; Complexity Profile Graphs (CPGs) for Java and Ada; UML class diagrams for Java; and has dynamic object viewers that work in conjunction with an integrated debugger and workbench for Java. The viewers include a data structure identifier mechanism which recognizes objects that represent traditional data structures such as stacks, queues, linked lists, binary trees, and hash tables, and then displays them in an intuitive textbook-like presentation view.

Related Tags

313 questions
-1
votes
1 answer

Illegal start of expression in my ESP Game Methods

The line public static String guessColor(Scanner keyboard) is where my errors are. The errors are as follows: illegal start of expression: at public, and at static. error: ';' expected: in between String and guessColor. error ';' expected: in…
-1
votes
1 answer

How to call methods multiple times

How would I call a method on here for each question? I've tried some different things but it won't work for me. Here is what i have so far: import java.util.Scanner; public class TaxCalc { public static void main(String [] args) { …
user4068770
  • 47
  • 2
  • 12
-1
votes
5 answers

How do I initialize this variable?

I understand that I need to initialize the variable daysInMonth, but I don't know how to since it's value at the point where I need it to determine the validity of the day is dependent on the user's input. int daysInMonth; //number of days in month…
Katy
  • 1
-1
votes
4 answers

Do I Have To Use Eclipse (Or Similar IDE)

Is it necessary to use Eclipse (or similar high-level IDE counterpart) for a professional programmer? I kept running into errors with Eclipse when setting up projects and I got hooked on JGrasp for its simplicity; struggling with Eclipse was…
SilverFox
  • 115
  • 2
  • 10
-1
votes
3 answers

Keeping Count Inside 2 Constructors

Im doing a program for class. We have to have 2 constructors. How do I keep count in both of them? For Example: If my test program has 5 different people created with the 2 constructors, how would I be able to return the number of people…
JessNicole27
  • 63
  • 1
  • 7
-1
votes
1 answer

Why is this program not working?

This is my syntax. I'm trying to display an average out of the values. It keeps giving me an error that says: error C2064: term does not evaluate to a function. Here is my code: #include int main() { double value; double…
masonc15
  • 1,043
  • 2
  • 12
  • 19
-1
votes
3 answers

My program is not computing the right output, and I'm not sure why

I've been staring at this program for hours, maybe a second perspective could help. import java.util.Arrays; import java.util.Random; public class Examples { private int numbers[]; private String result; public Examples() { …
user1804737
  • 65
  • 1
  • 3
  • 9
-2
votes
1 answer

Creating a menu for user to make a choice and determine if it is a Palindrome

Example output file1.txt contents I have to do a project to determine whether user input is a Palindrome (same letters forwards as backwards). I must create a menu and the user selects whether to input through the console or through a file. I had no…
-2
votes
1 answer

commands invalid debugged @stack queue

Im having trouble with my stack program and I don't really understand my errors. Can I please get some help? Every time i try to run it, it has multiple errors and im extremely confused on a few things. the errors i have is a total of 60…
Nori
  • 21
  • 3
-2
votes
1 answer

How do I change the size of my applet on JGrasp?

I wanted to know how I could change the size of the applet.I did it once back when I installed JGrasp but when I had to reinstall it due to a factory reset to my computer, I think it defaulted back to a bigger size, and I have not remembered/found…
-2
votes
1 answer

Exception in thread "main" java.lang.NullPointerException while performing selection sort?

I was writing some code to create a selection sort algorithm that sorted objects of the distance class. However, when I ran the program, the program returned the error: > Exception in thread "main" java.lang.NullPointerException > at…
-2
votes
1 answer

A program to merge two lists into one

I have to merge these two lists. This is my uncompleted coding program so far. I cannot make any further progress. I need to help to finish this assignment. The merged list should contain all of the provided number. Also, if you wish, can you leave…
-2
votes
1 answer

I am having trouble with a computer science program that I am working on. I finished the coding but I am having trouble with my Runner Class

Given a provided array, determine how many groups of a specified size exist. For the array [1,1,1,2,2,2,3,3,3,4,5,6,7] , there are 7 groups with at least one, 3 groups with at least 2, and 3 groups with at least 3. A group is a series of same…
NightCode
  • 29
  • 5
-2
votes
1 answer

Compiler error for Login GUI: cannot find symbol

I seem to be getting 2 errors when trying to compile this Login GUI. import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Login extends JFrame { final int USER_CONS = 8; final int PASS_CONS = 8; int ATTEMPTS =…
Tobi
  • 1
  • 1
-2
votes
1 answer

Java Class Design wont run

So I took a test and failed because my program didn't run and I can't figure out what I did wrong. I would appreciate any help. My interface ran so I just posted a picture of the test and the codes for the two classes I tried to do. The…