DevLop games
DevLop games
Explore posts from servers
JCHJava Community | Help. Code. Learn.
Created by DevLop games on 4/6/2025 in #java-help
JPanel add method not accepting components
No description
22 replies
CC#
Created by DevLop games on 8/18/2024 in #help
Destructor not being called
No description
12 replies
CC#
Created by DevLop games on 8/17/2024 in #help
Stride keeps freezing
Stride keeps freezing everytime I try to delete a script. Anyone know why?
4 replies
JCHJava Community | Help. Code. Learn.
Created by DevLop games on 8/5/2024 in #java-help
Can't import javafx
I am trying to import javafx but for some reason it's not able to find it. Even tho I have all the Jat files in global libraries. Can someone help me with this?
5 replies
JCHJava Community | Help. Code. Learn.
Created by DevLop games on 8/3/2024 in #java-help
Error when running javafx app
I am trying to set up a simple javafx window in intellij community edition and i ran into an error. Error: JavaFX runtime components are missing, and are required to run this application What runtime components is it talking about?
241 replies
JCHJava Community | Help. Code. Learn.
Created by DevLop games on 8/3/2024 in #java-help
message variable holds the same value
I am trying to learn a bit of java before jumping into a project so when i do i'll know or have an idea on how to handle some situations. I am working on receiving user input. Which won't serve too big of a purpose later on but i still am gonna learn how. I'm currently having trouble getting my message variable to clear after a message has been printed to the console. It holds the same value after i enter any type of text. Anyone know why?
import java.util.Objects;
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String message = scanner.nextLine();

while (!Objects.equals(message, "QUIT")) {
if (Objects.equals(message, "Hello")) {
System.out.println("Hello there!");
scanner.nextLine();
}
else if (Objects.equals(message, "Bye")) {
System.out.println("Cya!");
scanner.nextLine();
}
}
}
}
import java.util.Objects;
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String message = scanner.nextLine();

while (!Objects.equals(message, "QUIT")) {
if (Objects.equals(message, "Hello")) {
System.out.println("Hello there!");
scanner.nextLine();
}
else if (Objects.equals(message, "Bye")) {
System.out.println("Cya!");
scanner.nextLine();
}
}
}
}
47 replies
CC#
Created by DevLop games on 6/27/2024 in #help
Need help with video processing
I wanna display a video in opentk. Anyone know how to do that?
2 replies
CC#
Created by DevLop games on 6/25/2024 in #help
I need to render text in my game with opentk
I been trying to find a way to render text in opentk. I'm mainly looking for a way to render text and fit it in one namespace to be used by other namespaces. Anyone know a way I can do this?
8 replies
CC#
Created by DevLop games on 6/24/2024 in #help
✅ Namespace error
The type or namespace name 'Game' does not exist in the namespace 'Rhythm_Flow' (are you missing an assembly reference?)
using System;
using OpenTK.Windowing.GraphicsLibraryFramework;
using Rhythm_Flow.Game;

namespace Rhythm_Flow
{
public class Program
{
static void Main(string[] args)
{
using (Game game = new Game())
{
game.Run();
}
}
}
}
using System;
using OpenTK.Windowing.GraphicsLibraryFramework;
using Rhythm_Flow.Game;

namespace Rhythm_Flow
{
public class Program
{
static void Main(string[] args)
{
using (Game game = new Game())
{
game.Run();
}
}
}
}
Anyone know why i am getting this error?
63 replies