No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
11 Posted Topics
I've written a Java application using Netbeans, and I was wondering if there is any way in which I can run this application using an executable file in windows rather then having to run it through Netbeans itself. Is this possible?
Hi, i'm working on an application cosisting of 7 individual jFrame screens. I was wondering, is it possible to code a button to go back to a previous screen, without removing any data a user has entered - i.e without reloading a new version of that screen? I other words, …
Hi, I'm developing a GUI with several forms, one of which contains a jLabel that displays a JPEG image of a graph as it's icon. How do I go about plotting a simple 2d curve on that image from a set of data? I know of drawLine etc, but how …
How do I code an IF loop to perform the following?: if a > X b = //a value// else b = //another value// Thanks!!
Hi, how would I go about changing the mouse cursor image? I have a jLabel with an image of graph on it and I would likt the mouse cursor to change to a cross-hair when the mouse is moved onto the jLabel. Does anyone have an idea as to how …
Hi, I'm creating a GUI in which users are required to interact with graphs. I have a jFrame on which I have put a jLabel and used this label to import a JPEG of a graph (i.e it's an icon). My problem is that the user needs to pick a …
I'm having a problem whereby I create an instance of a class called Calculations.class in one of my main classes, but cannot access that instance from any other class. Here is the code public class Parameters{ //code// Calculations calc = new Calculations(); //some calculations done using variables in the calculations …
I'm programming a GUI and some frames require images to be displayed on them. How do I go about importing a simple jpeg onto a Jpanel within the GUI frame?
I'm having a problem with a GUI i'm building. I have a separate class called Calculations.class which does nothing except hold certain variables and do calculations with them. One of my classes requires a user to enter numerical data, and when a button is pressed, these variables are set in …
I have a small problem with doing calculations in one java class and trying to refer to the varibles in another class. I have written a GUI program that performs certain calculations and then when a button is pressed, the values obtained are saved as variables in another Java class …
Hi, just wondering if anyone could help with a little problem. I'm designing a GUI that models the behaviour of a gas turbine engine. I need to add a graph i have scanned into my computer onto the GUI frame, and also use the mouse cursor to click on the …
The End.
matt_5104