32,199 Topics

Member Avatar for
Member Avatar for jayadan

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.....

Member Avatar for NormR1
0
215
Member Avatar for charlie.beat

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 …

Member Avatar for charlie.beat
0
170
Member Avatar for london-G

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

Member Avatar for elijahStar
0
97
Member Avatar for maxinville

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 …

Member Avatar for maxinville
0
347
Member Avatar for blackmagic01021

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 …

Member Avatar for blackmagic01021
0
1K
Member Avatar for shawnv100

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 ?

0
53
Member Avatar for sssabita

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 …

Member Avatar for siva111
0
174
Member Avatar for raviaaaa

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 …

Member Avatar for NormR1
0
213
Member Avatar for DreamTheater85

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 …

Member Avatar for NormR1
0
179
Member Avatar for arathy nair

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 …

Member Avatar for NormR1
0
178
Member Avatar for frank33

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 …

Member Avatar for frank33
0
130
Member Avatar for Sonny101

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 …

Member Avatar for aloncito
0
548
Member Avatar for learning.java

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 …

Member Avatar for stultuske
0
188
Member Avatar for tendaimare

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 …

Member Avatar for stultuske
0
81
Member Avatar for corvenzo

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.

Member Avatar for ash.28.88
0
435
Member Avatar for Afropuff01

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 …

Member Avatar for JamesCherrill
0
132
Member Avatar for macdunk11

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 …

Member Avatar for macdunk11
0
160
Member Avatar for mp9036

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 …

Member Avatar for poojavb
0
91
Member Avatar for 3nrichedd

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 …

Member Avatar for poojavb
0
231
Member Avatar for Samyx

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 …

Member Avatar for stultuske
0
83
Member Avatar for renzlo

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 …

Member Avatar for renzlo
0
72
Member Avatar for Alex_student

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 …

Member Avatar for Alex_student
0
91
Member Avatar for dancingdophie

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 …

Member Avatar for dancingdophie
0
238
Member Avatar for nyfan68

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 …

Member Avatar for |-|x
0
202
Member Avatar for bsabowala

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 …

Member Avatar for bsabowala
0
222
Member Avatar for Cenchrus

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); …

Member Avatar for Syrne
0
222
Member Avatar for Thermalnuke

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 …

Member Avatar for Thermalnuke
0
1K
Member Avatar for Stjerne

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 …

Member Avatar for NormR1
0
204
Member Avatar for kalcio

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

Member Avatar for JamesCherrill
0
134
Member Avatar for blake81

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 …

Member Avatar for stultuske
0
142

The End.