Questions tagged [jcreator]

JCreator is an open source integrated development environment (IDE) with a moderate to small user base. It is only used for Java development, though many prefer it to other IDE's because of its ability to run files individually instead of creating projects.

163 questions
67
votes
11 answers

How do I create executable Java program?

I have programmed a Java Program in JCreator, everything is done, but I want to create an executable file from it, ie I dont want to have to run the program by loading the java classes and compiling then executing, but instead have it as a stand…
Java
12
votes
9 answers

How to set the height and the width of a textfield in Java?

I was trying to make my JTextField fill the width and set a height for it but still failed. I tried adding the code setPreferredSize(new Dimension(320,200)); but still failed. Is there any way I can make my JTextField fill the width and set the…
Ms. B
  • 1,073
  • 6
  • 15
  • 26
7
votes
0 answers

Java - Note: Some input files use or override a deprecated API

I'm trying to compile and run my project from the command prompt. I'm using JCreator for my project. I can't find any solution. this is the error i got in the command prompt : Note: Some input files use or override a deprecated API Note: Recompile…
Preeyah
  • 363
  • 3
  • 16
  • 42
4
votes
1 answer

UnsatisfiedLinkError with javafx

I am trying do learn javafx. I have a very simple program to print "Hello World" once in the main method (as a test) and once in the Application. The code looks like this: import javafx.stage.*; import javafx.application.*; public class HelloApp…
i .
  • 485
  • 2
  • 10
  • 23
4
votes
1 answer

Check a key's state without keyPressed/Released events

I need the check the state of a key (whether it's being pressed down or not) without using an event based method. Storing key states does not work; I need to check the real time state of the key. Anybody know how? Platform is JCreator v5.0 LE
Nathan Chan
  • 177
  • 1
  • 3
  • 14
3
votes
2 answers

How to compile a java project consisting of multiple files?

I have a java project which contains multiple classes spread out over multiple files. How do i compile and get this to work ? Can anyone suggest how to compile this using jCreator (without using a build tool like ant)
YD8877
  • 10,401
  • 20
  • 64
  • 92
3
votes
0 answers

Display multiple console in java from same program

I'm trying to make application to display multiple consoles windows in java from same program: First console will print "Hello from Console 1" Second console will print "Hello from Console 2" I was reading about threading, but I found only that I…
3
votes
2 answers

Tic Tac Toe Checking winner

Im having problems with the win code. Ive been trying for a really long time and i have no idea what the problem is. Ive tried debugging but i got nothing from that.(Sorry for the Swedish comments) import java.util.Scanner; public class Tictactoe…
Marc
  • 87
  • 7
2
votes
3 answers

Java error-message - 'void' type not allowed here, when calling a method that returns an integer

I've had a look throughout various forums and sites trying to find out where I'm going wrong but with no luck. public void updatePlayerLabels() { if(currPlayer == 0) lblP1Name.setText(lblP1Name.setText(myPlayers[currPlayer].getName() + "…
IanMelrose
  • 108
  • 7
2
votes
3 answers

What's the difference between JCreator 4.5 and JCreator 5?

My school uses 4.5 and there doesn't seem to be any differences besides the version number
Alex
  • 3,111
  • 6
  • 27
  • 43
2
votes
1 answer

Bad operand types for binary operator '>' using doubles

So I get the error in the findSmallest and findLargest methods, but I understand the error, I just don't understand why it is happening. I am comparing 2 doubles in a 2D array, but it is still telling me I can't compare them with a '>'. Any help…
2
votes
4 answers

Printing two Strings simultaneously in loop but on separate "paragraphs"

First class: public class Pets { // Instance variables private String name; private int age; //in years private double weight; //in pounds // Default values for instance variables private static final…
Yocoxcanemitia
  • 265
  • 1
  • 4
  • 9
2
votes
1 answer

Basic addition and subtraction with choices

Please help with this. I am very new to this, and I need this badly. I need to create a program where it lets you choose from addition or subtraction. This is my current program: import javax.swing.JOptionPane; public class RationalZ { public…
Richard
  • 21
  • 2
2
votes
2 answers

How to repaint paint methods in java applet?

I would like to use applet to switch between 2 "frames". I want to use an applet to paint something and then remove it and paint something else. Is there any way to do this? Example: if(true){ public void paint1(Graphics g) { …
Marc
  • 87
  • 7
2
votes
3 answers

How to create a search method for an array

My code is as follows: import java.io.*; import java.util.*; public class readStudents extends Object { private String SName = ""; private String DoB = ""; private String Gender = ""; private String Address = ""; Student []…
Nate_thp
  • 21
  • 1
  • 1
  • 3
1
2 3
10 11