32,199 Topics
| |
hi guys i need to increase the size of the font in between eg: 83.507 is my text and i need to increase the size of 50 only and all other remains the same help me guys..... | |
Hello Everyone, everything has been going good with the whole JAVA learning process until today. I have been working on Inheritance and have not been able to complete this project. My problem is coming from the test class, I simply do not know how to set it up to output … | |
Hi everyone, I am reading text from a text file and outputing it in a textArea on Netbeans. I am using file not found exception, however I want to have an error message that pops up. Any ideas? Thanks | |
Pls can anyone help me with a code that will help me get values in a main class from another class... I have two classes, one is user class that has the main method and the other which is process class. I am having a jtextfield and a jbutton in … | |
I have two class. One class is for JAVA text area another class has a object. I want to print in the textarea from another class. The class with the text area. public class LabelStatus extends JPanel { /** * */ private static final long serialVersionUID = 1L; final static … | |
I am developing code to record a video from a webcam....I found some code online, and I was able to understand most of it, but everytime I run it, I get a CannotRealizeException when the following code tries to execute, processor = Manager.createRealizedProcessor(processorModel); does anyone know why this happens ? | |
I am doing project in java that analyzes tweets related to a particular topic and categorizes them as positive,negative or neutral.I have been able to extract the tweets but donot know how to build a classifier to categorize them.How do i build a classifier and how do i train it?Please … | |
HI All iam using applet tag in html file ex: <APPLET name="TreeMenuFrom" code="com.scand.jtree.TreeApplet.class" width="300" height="250" codebase="./com/scand/jtree" MAYSCRIPT> <PARAM NAME="root_closeable" VALUE=""> <PARAM NAME="menu" VALUE="treeMenuFrom"> <PARAM NAME="image0" VALUE="images/item_open.gif"> <PARAM NAME="image1" VALUE="images/item_node.gif"> <PARAM NAME="image2" VALUE="images/item_open.gif"> <PARAM NAME="image3" VALUE="images/item_closed.gif"> </applet> TreeApplet.class is exist under com/scand/jtree but iam getting following error while loading the applet … | |
Hi, I've been working on this k-means clusterization program. I made mistake somewhere in the code, and program outputs only zeros. I tried to debug it, but I was not able to solve the problem. I would like to ask for suggestions how to fix my program. Thanks, public class … | |
Hi, I am having a code which fetches say 200 records,after 6 records i got an exception..So after my exception is caught in catch block i have 2 call a method which can help continuing the exception starting from the 7th object. Can anyone help with some piece of code … | |
While I am reasonably familiar with the use of threads in Java ( or at least the syntax ), the question is exactly when should they should be used and in particular how 'fast' things must be before you use them ? I had thought they were used to prevent … | |
Hi all, I am trying to use a prepared statement for the first time and I am getting confused with parameters. The idea is that a GUI opens with 10 fields filled in, now somebody can update one or more fields and this will be updated to an Access Database … | |
Write a java program that will open a file, read each of the records from the file, use that data to populate a two dimensional array and write the sorted data out to a new text file. Define a class named [B]Munge[/B] which will do all the 'heavy lifting' in … | |
I have been programming woth vb.net for a long time but now i want to start with java. and I wanted to know where i can find enlightening guidance tutorials and code samples that work . I also heard that java requires other programs to run with it. any links … | |
Hi, I'm a pretty new Java student and I was just confused on a few basic concepts. What exactly is the difference between public and private classes and in which case would you use each one? also, what is a constructor, mutator, or accessor? Thank you. | |
I have used 2d arrays many times before, but for some reason eclipse keeps putting a red line under ; at the end of the declaration line for it. When I run it I get an unresolved compilation error. Here is my code: private Zone[][] zones = new Zone[10][10]; What … | |
I am finding the factorial and exponents of variables both recursively and iteratively. What I need help with is finding out how long it took each one. Where do I put the System.currentTimeMillis() part and how do I find out exactly how long it took (i.e. 55 milliseconds)? public static … | |
import java.util.Calendar; import java.io.*; public class DayOfYear { public static void main (String[] args) throws IOException { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader in = new BufferedReader(isr); System.out.print("Enter the date (yyyy,mm,dd): "); String date = in.readLine(); Calendar cal = Calendar.getInstance(); String[] seperate = date.split(","); int year = Integer.parseInt(seperate[0]); int month … | |
hello, I am lik 98% done with this assignment where the user enters a number, and then it will output if you guessed the right number, or if you have any matching digits, so for example, the if the random number is 24 and the user inputs 20 it should … | |
Hello everyone, Is there anyone familiar with OpenClinica? I am trying to figure out a way to migrate data from a CRF to another, the thing is, those CRFs were note created as a version of each other. How can I migrated data from an old CRF to a new … | |
Hi All, It's my first time to use this component and I manage to simply load a simple website in my program. My question is, how do you handle webpages that loads a java applet? I am able to load a webpage login form via navigate function and successfully logged … | |
How are you, I need to write the follwoing code in JavaScript. I Thank you in advance. <script language = "VBScript"> Dim days(7) days(0) = "Sunday" days(1) = "Monday" days(2) = "Tuesday" days(3) = "Wednesday" days(4) = "Thursday" days(5) = "Friday" days(6) = "Saturday" Sub SetDay (day) Daybox.value = "You … | |
So the program is supposed to display the box like this (for LIST ALL TRANSACTIONS) : List all transactions: ID Type Amount 0 check 50.00 1 svr.chg 5.15 2 deposit 40.00 3 svr.chg 0.10 the box displays other transactions; it saves the old and new ones and display them one … | |
I have a problem that calls for me to Write a simple web server that recognizes only the GET request. When a client connects to your server and sends a command, such as GET filename HTTP/1.0, then return a header HTTP/1.1 200 OK followed by a blank line and all … | |
Lets say that i have a .txt file with the following text: " Hellow lol lololo hahahahahhahaha hyryryryryryryr " I want to add all that to the clipbourd so that I can paste it on an other application. Can someone help. I know how to add string to a clipbourd … | |
Hey guys, I was wondering if someone could help me interpret line by line what is happening in this code... package com.example.helloandroid; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); … | |
Hey guys Having a problem with my program i am writing this program out all in char format. it is suppose to out put the letters in order and then spit out the numbers in reverse. also the outputs that come out are in order and then off to the … | |
Hello, So I've big project (about conserts) going on, and this project, I'll handle all GUI. Since we need a few windows (one for registration artist, hall, concert. one for "Buy ticket", one for reviews etc.), we decided to put all these things on tabs, so we only have one … | |
Hi, I want to use a compression alogorithm to compress files and implemented in my interface,I have browsed the net and I have found many like Huffman,is it the best choice and thanks | |
I am trying to code a number guessing class and client. The issue/problems I am having with this class/client is that my number guess either ends up too high or too low and in top of that it loops the number twice when it should once. Number generated from 0 … |
The End.