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
vote
1 answer

How to add a dependency to module path?

I am very new to programming, and while working on my first software development project I came across the error: "package javax.activation is not visible." I have read other posts that have said that in order to fix the error, one must add a…
1
vote
1 answer

Dice roll game homework

I'm just trying to figure out this homework and could use some help. NOT LOOKING FOR ANSWERS, just a better understanding. I'm very very new to coding, using jGRASP java. The teacher told us to create this game that generates an output similar to…
1
vote
1 answer

Error message with python in jGrasp about path

So, I have just recently installed jgrasp on my computer. I have just selected the standard installation. For this particular instance, I am writing in python. However, whenever I try to run my code, I get an error message that the command python is…
Alex Zhang
  • 63
  • 1
  • 6
1
vote
0 answers

Is my jGrasp IDE responsible for this?

I'm learning how to implement interfaces following a YouTube video. He runs the code that I've posted following and I run the same code. His compiles and prints while mine gives me the error code: Machine startedException in thread "main"…
charley
  • 11
  • 1
1
vote
1 answer

Error: Could not find or load main class junit_runner.JgrRunner

I'm trying to run a JUnit test on some of my files. I'm pretty sure that I have JUnit installed and configured, but something in the configuration is incorrect. I think it has to do with the fact that I'm using a machine running Ubuntu. Here's my…
1
vote
2 answers

I need to get two separate lines for evens and odds, but the catch is, I can use only one while loop

This is my code: int numb = 50; int odd; int even; while (numb <= 100) { if (numb % 2 == 0) { even = numb; System.out.println(even); System.out.print(", "); numb++; } System.out.println(""); if (numb %…
1
vote
1 answer

My dollar calculator isn't working exactly as I want it to in java?

import java.text.NumberFormat; import java.text.DecimalFormat; import java.util.Scanner; public class Part2 { public static void main(String []args) { Scanner input = new Scanner(System.in); NumberFormat money =…
mojojojo
  • 11
  • 1
1
vote
1 answer

Jgrasp debugger not showing local variables

I started to realize that my debugger for jGRASP isn't showing local variables anymore.It only shows static variables. I'm not sure when it started but my version is 2.0.3_06. I've tried the Eclipse debugger and it worked fine, so I know the problem…
Kyle Henry
  • 15
  • 1
  • 7
1
vote
2 answers

jGRASP c++ setup issue cannot find -lfreeglut

I'm trying to setup c++ on jGRASP. I know that java programs run fine. The error I'm getting is: ----jGRASP exec: g++ -g -o Project Simulator.exe Project Simulator.cpp -lglu32 -lfreeglut…
Owen
  • 21
  • 3
1
vote
1 answer

Setting required length of a string

Pretty basic question I believe... lets say I had this program and the access code had to specifically be 13 characters long. How would I make it so that if it wasn't 13 long then the user would have to retry and enter it again? import…
ANON
  • 75
  • 1
  • 9
1
vote
2 answers

How do you zoom in and out in jgrasp for the code

How exactly do you zoom in and out for the actualy code in jGrasp. I've tried searching it up but couldn't find anything.
ali_h
  • 31
  • 1
  • 3
1
vote
3 answers

Getting a java.lang.StringIndexOutOfBoundsException using Constructor

My professor asked for us to make two separate java classes for a popular problem where you have to build an employee email based off of a first name, last name, and employee ID number. If you'd like to see the problem: Assignment The problem is…
Mythrim
  • 11
  • 3
1
vote
1 answer

Lost tabs bar in jgrasp

I lost the horizontal bar that lets you switch tabs in jgrasp. I have searched for a solution but can't even word the question in the proper way. I tried to reinstall jgrasp but that didn't work. I uploaded a picture to show exactly what I mean. …
1
vote
3 answers

Java - How would I return an exception if the user enters a invalid input?

I'm a complete beginner when it comes to coding. I'm currently taking a programming class at my local community college. We've been given an assignment to create a program that calculates the BMI (body mass index) of the user. I've managed to create…
user5983019
1
vote
1 answer

Does jGRASP support Java lambda expressions?

I've worked in jGRASP for some time, and just started working with lambda expressions in Java. I can compile programs with lambda expressions, but when I try to run them I always get this error: No main methods, applets, or MIDlets found in…
Daniel R. Collins
  • 893
  • 1
  • 8
  • 22