35,617 Topics

Member Avatar for
Member Avatar for freesoft_2000

Hi everyone, I have a question about carets. I have a textarea and want to be able to get the line number that the caret position is currently on. The caret listener seems to only have the getDot() position function but nothing about the the line number of the textarea. …

0
59
Member Avatar for nanosani

Is there any good vb to java convertor available ?? or should it be java to vb convertor ?

Member Avatar for jerbo
0
144
Member Avatar for warm heart

hi there good evevning >>>>> :lol: :lol: i hope all of u is good ..... sorry but i know i am new but i face aproblem with array i don't know how to solve problem with array >>>>> i have problem that said enter name of 15 studemt and there …

Member Avatar for jerbo
0
103
Member Avatar for Jeff20

I keep getting these errors. Anyone know how to fix them? My program was working before. Both directories seem to be the same tho so i have no clue what it means. "AppointmentMatthews.java": Package C:\javastuff\Appointment\AppointmentMatthews.java stated in source Massage does not match directory C:\javastuff\Appointment\AppointmentMatthews.java. at line 11, column 9 "MassageMatthews.java": …

Member Avatar for jwenting
0
129
Member Avatar for jonboy_us

Java2 homework help. Quick comment...Java was not meant for GUI! If you want GUI, then use VB. Now that I have that out of my system... Homework goal... To create a GUI java app that will save the info in the text fields to a file to a location that …

Member Avatar for jwenting
0
250
Member Avatar for paul4798

Hi there i get an invalid page fault as follows: RPCRT4.DLL at 0167:7fbd0894 Registers: EAX=011f202b CS=0167 EIP=7fbd0894 EFLGS=00010212 EBX=011edef0 SS=016f ESP=011edd10 EBP=011edf00 ECX=77124438 DS=016f ESI=00000484 FS=5acf EDX=bff76855 ES=016f EDI=7712454e GS=0000 Bytes at CS:EIP: ff 30 ff 75 d4 8d 85 1c fe ff ff 50 e8 cb 0b 00 Stack …

Member Avatar for caperjack
0
158
Member Avatar for JaeEmAre

Open question: We have an application in which a Java servlet calls an ASP page on which a function is coded and used by the Java servlet, passing to it parameters from the end user. We are having sporadic troubles with this process and the person attempting to help us …

0
100
Member Avatar for freesoft_2000

Hi everyone, I am trying to compile some java codes from a .java file that i had saved to disk. Basically i am trying to build my own ide. I have a text area in which the java code is in and also have two buttons. What i need is …

Member Avatar for jwenting
0
190
Member Avatar for grussell

Sorry - my last statement of my problem wasn't too clear. I have all my panels and my CardLayout (as I originally wrote it), thus: private CardLayout wholeScreen = new CardLayout(); mainPanel.add("Main", displayPanel); mainPanel.add("Enquire", enquirePanel); mainPanel.setSize(1200, 600); getContentPane().add(wholeScreen); wholeScreen.show(mainPanel, "Main"); It comes up with this error: C:\myjava\TestClient.java:201: cannot resolve symbol …

0
66
Member Avatar for grussell

:sad: I have a CardLayout and a main panel to which I have added the panels I want to display. However, I cannot add the CardLayout to the JFrame using `getContentPane()`. I tried adding the application in which all my screen building takes place to `getContentPane()` but to no avail. …

0
108
Member Avatar for matt_5104

Hi, how would I go about changing the mouse cursor image? I have a jLabel with an image of graph on it and I would likt the mouse cursor to change to a cross-hair when the mouse is moved onto the jLabel. Does anyone have an idea as to how …

Member Avatar for mcclth
0
94
Member Avatar for George2

Hello everyone, I am using read method of InputStream to read a stream from a remote machine. The network connection is not very stable (for example, a wireless network whose the signal strength is relatively low). I am wondering if read method returns -1 (which indicates the end of the …

Member Avatar for George2
0
140
Member Avatar for justbboying

hi .... i have written a programm which solves the math equation : x = -b +- square root of b ^ 2 - 4 (a)(c) all / 2(a) programm is really short since am still a beginner so heer it is : import java.awt.*; import java.applet.Applet; public class MathEqu …

Member Avatar for justbboying
0
134
Member Avatar for CTBinCCP

hi guys, im new here, i have a project that i have to do but cannot complete... Write a program that prompts the user for a number from 1-9. Then display all of the numbers from 1 to 100 except for any numbers that are evenly divisible by the user’s …

Member Avatar for CTBinCCP
0
137
Member Avatar for freesoft_2000

Hi everyone, I have an application that i need to distribute as a jar but i have no idea how to create the jar archive as well as something called the manifest file. Basically i have only one class and the main is in that class itself. The path of …

Member Avatar for jwenting
0
272
Member Avatar for Luminus

Please. I'm writing a Test Engine Software and I have a big issue. I have a large question database about 1000 questions and I need to load 50 random questions for each test instance. i.e Each time a user runs the test, 50 DISTINCT questions will be loaded. They should …

Member Avatar for Luminus
0
75
Member Avatar for Roopak

An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x7C33784 Function=Java_sun_awt_font_NativeFontWrapper_registerFonts+0x14C0 Library=C:\Program Files\Java\j2re1.4.2\bin\fontmanager.dll Current Java thread: at sun.awt.font.NativeFontWrapper.registerFonts(Native Method) - locked <0x161a9eb0> (a java.lang.Class) at sun.java2d.SunGraphicsEnvironment.addPathFonts(Unknown Source) at sun.java2d.SunGraphicsEnvironment.registerFonts(Unknown Source) at sun.java2d.SunGraphicsEnvironment.access$200(Unknown Source) at sun.java2d.SunGraphicsEnvironment$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at …

Member Avatar for freesoft_2000
0
151
Member Avatar for Vinay

Afsah Shafqat is the 14 year old girl who made the entire nation proud by breaking so many records in the field of IT, doing professional IT courses at a very young age. Afsah, in 10th grade, has been called the "Princess of Operation Badar." [img]http://img18.exs.cx/img18/289/u3qj2ee.gif[/img] She recently passed her …

Member Avatar for jwenting
0
260
Member Avatar for MrScruff

Hey people, Im just wondering what type of layout you would recommend to set up a grid of labels and sliders: This is the format that i would like them to be in. [CENTER]JLabel - Jslider - JLabel[/CENTER] [CENTER]JLabel - Jslider - JLabel[/CENTER] [CENTER]Slider Name - Slider - Slider Value[/CENTER] …

Member Avatar for MrScruff
0
129
Member Avatar for Talruk

I'm thinking of moving to a mac, and thinking in advance I'm curious what the best way to develop Java programs is. The most obvious choice is Xcode but I've heard good and bad reviews on it. I can't try it in stores because they're afraid I'll use the power …

Member Avatar for Dani
0
84
Member Avatar for indranil

when i run start i get syntex error using CATALINA_BASE: .. using CATALINA_HOME: .. using CATALINA_TMPDIR: ..\TEMP using JAVA_HOME: C:JDK1.3 PLEASE HELP ME TO RECTIFY THIS ERROR MY EMAIL IS [email]indranilray@yahoo.com[/email]

Member Avatar for jwenting
0
118
Member Avatar for freesoft_2000

Hi everyone, I have a weird problem. Currently i am using a jtextpane with the HTMLDocument class as its default document. I am tryin to change the background colour of the htmldocument but still it does not seem to work. I cannot use the JTextPane's setBackground method as if i …

0
58
Member Avatar for kai13

I'm currently stuck in my program. I'm supposed to create a new method that inputs a message string and takes each letter and converts it into a two dimensional array of 1's and 0's. For example the letter 'H' would be 10001 10001 11111 10001 10001 My thoughts were to …

Member Avatar for kai13
0
120
Member Avatar for JIMBOB963

I get an error message that reads: "Your web Browser does not support Java Applets or Java is not enabled in web browser Preferences." It is there a way to correct this problem? I am new to Java. Please give me a detailed explanation if possible. I am running "Windows …

Member Avatar for JIMBOB963
0
115
Member Avatar for server_crash

I made a text editor with very basic funtionalities. I wrote it all in one class because I really wasn't sure what to put into other classes. Right now the code is pretty messy and I want to rewrite it. I was wondering if anyone could give me some input …

Member Avatar for server_crash
0
177
Member Avatar for magnia

can anyone help me this im just trying to read some integers into a linked list from a textfile the file will be something like this, ive done the code but it wont compile Arrival Times Burst times 23 .5454 34 .78 12 .96 Code: import java.util.LinkedList; import java.util.ListIterator; import …

Member Avatar for freesoft_2000
0
98
Member Avatar for rick4324528

I have created a DrawingWindow in the 'main' method, but i cannot draw to it from another method within the same class, although both classes are public.

Member Avatar for freesoft_2000
0
65
Member Avatar for sam1

i have a super class called employee1 and subclass fulltime whenever i run it i get this error: javac employees/FullTime.java employees/FullTime.java:3: cannot resolve symbol symbol : constructor employee1 () location: class employees.employee1 public class FullTime extends employee1 ^ 1 error can anyone help plz

Member Avatar for freesoft_2000
0
59
Member Avatar for mark hughes

I'm trying to find a site where can download a java sdk1.4 for windows 98. I've tried the Sun site, but i keep getting an error page. Any ideas?

Member Avatar for freesoft_2000
0
113
Member Avatar for femmegirl

I have to write a program that allows the user to enter a string and the it needs to count the number of upper case letters in the string. This is the code I have come up with, can anyone help me fix it? import java.util.StringTokenizer; public class TestStringTokenizer { …

Member Avatar for freesoft_2000
0
81

The End.