Is there a way to catch whether a certain message has popped out. I tried: If MsgBox("Well done!", MsgBoxStyle.OkOnly, "Amazing") = Visible = True Then Me.WindowState = FormWindowState.Maximized End If

Member Avatar
Member Avatar
+0 forum 3

Hi i am a computer science student. i am planning to create an aplication that:Determines the bandwidth allocated by ISP, determines load on the bandwidth at a particular time and also determines the unit that is using most of the bandwidth.I would like to use java. may you advise if it is posible to do this project using java and would be greatful if you can also provide with links or books which i could use to carryout this project

Member Avatar
Member Avatar
+0 forum 1

Hi, I had to make a java coding that will determine if a number is a prime number or not. Here's the coding I did: import.java.util.Scanner; public class PrimeNumber { public static void main(String args[]) { int n; Scanner Prime = new Scanner(System.in); System.out.println(" Please enter a number: "); n = Prime.nextInt(); System.out.println(isPrime(n)); } static boolean isPrime(int n) { if (n%2==0) return false; for(int i=3;i*i<=n;i+=2) { if(n%i==0) return false; } return true; } } And I got just 1 more error to correct here: PrimeNumber.java:1: error: <identifier> expected import.java.util.Scanner; ^ 1 error Can anyone please shed some light on correcting …

Member Avatar
Member Avatar
+0 forum 5

Hi. Hopefully this is my final question for this code. As you may know, I got a code from lloydgoodall.com for a Java & LWJGL FPCamera. It came with several errors, which I got to fixing, and after many, many Google searches, Option+Space's, and hitting my head against my desk's, I've got to hopefully the last error: The Eclipse console shows: "Exception in thread "main" java.lang.IllegalStateException: Cannot determine close requested state of uncreated window" I'm confused. Here's my code: [code] import org.lwjgl.Sys; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.GL11; import org.lwjgl.input.*; import org.lwjgl.util.vector.Vector3f; //First Person Camera Controller public class FPCameraController { //3d vector …

Member Avatar
Member Avatar
+0 forum 3

The End.