36,051 Topics
![]() | |
Well as far as i know there is nothing like JCanvas for swings....i read somewhere that Jpanel can be considered to be the Canvas of Swings....How true is that???? :?: | |
Greetings: I`m starting in Java and i`m having problems with compatibility between versions, in school they have an older version(I believe its 1.4.0 but i`m not completely sure) than the one i have at home(1.5.0_04), so almost every time i try to open a applet/application at school i get errors, … | |
how would i write the code to get this output? Play a pick four game? (enter Y to play pick four, anything else for pick 3) y How many chances do you want to buy? 5 Your bets: [[10, 6, 16, 9], [14, 4, 2, 12], [3, 16, 16, 16], … | |
Hi i am supposed to make a program to generate 3 or 4 random numbers and tell if the user has won this is what i have, i think i am going to try and use arrays instead. import java.util.Random; public class pick{ public void reader( String s, BufferedReader r){ … | |
hi everyone, how would i know if my server is working? I mean I did ping ipaddress:host but said could not find the host. thank you | |
[COLOR=Red][COLOR=Red][/COLOR] i am trying to past an image into my java program given the starting point and the ending point..,, gc.drawImage (m_image,0,50,120,15this); but its not working can you help me please | |
hi I know that I have asked pretty much question recently.. I'm learning java myself and hence kinda can't really understand the `isDigit` method.. error is cannot resolve symbol method isDigit(char) I imported `java.lang.*` as well already . public static boolean DigitValidation(String colour) { boolean flag = true; for (int … | |
I am trying to develop an application in which i need to open an internal frame in a simple frame......with the click of a menu......is it possible????How?????The internal frame does open in a new frame but doesnot open in the same frame....what can be the reason......... :cry: | |
![]() | Hello every1, My assinement is like so. I need to write a program which accepts a word at input and then checks to c if it is a palindrome. My teachers says that it must be dun using stacks :rolleyes: otherwise we won't get any marks. I have no idea … |
Hey guys, I'm trying to write a code that reads in a .dat file from the SSH shell command line. example: java Prog1 xxxx so from the shell command line i want it to run Prog1 then read in the contents of the xxxx file All the code I look … | |
hi I have some problem.. for instance i have a String s= blue it maybe another string of yellow red whatever how do i convert that b to B i only read about s.charAt(0) to get the first letter .. | |
hi guys, I'm a new member. By the way, I had an error that showed up on my jdbc program that connected to oracle. It showed 'java.sql.SqlException'. When I looked up on it in a book called Oracle8i Complete Reference, it told me that I could set my environment variables … | |
Hi all, Does any one anyone have a site where there is a full tutorial about Java. Thanks :cheesy: | |
We have an application that uses JMS messaging functionality. This particular software takes use of the JMS queues to send messages and process them at a specified time. The polling (pinging) of the queues comes in two minutes time (if I'm not mistaken). Though there is no problem with the … | |
[IMG]http://vedium.net/java.jpg[/IMG] I have an array in a.java, den b.java is suppose to collect data and put inside the array in a.java. den I need c.java to read from the array to see wad b.java has entered. If i use "a ent = new a;" I would get a blank array … | |
hi everyone, iam trying to connect to server here is the code for connecting: [CODE]public void CONNECT_TO() { int port=200; if(t1.getText()=="") serv="localhost"; else serv=t1.getText(); try { port = Integer.parseInt(t2.getText()); } catch (Exception e) { } try { c_s = new Socket(serv, port); l3.setText("Connected to server " +c_s.getInetAddress()+":" +c_s.getPort()); form F=new … | |
I am trying to download some applets for my physics class (my students like applets a lot) and cannot download them because I don't know how to interpret the tag CODEBASE="." The web page source code looks like this: -------------------------------------- <applet code="Lab.class" name="Lab" archive="Lab.jar" codebase="." width=640 height=440> <param name="simulation" value="single … | |
I use ZoneAlarm Security Suite 6 and am having trouble getting rid of the Java.Shinwow.BA virus. Whenever I scan my whole Computer using the free Ad-Aware, about 15 Mintues into the scan ZoneAlarm virus scan results come up with the virus Java.Shinwow.BA. I can't get rid of the virus because … | |
Hello, I am writing a java program that reads a flat file and process each record. I am maintaining a counter that keeps track of the record/ line being processed. I want to print this counter on the monitor screen. Using System.out.printf("Processing Record: %d\r", counter); is printing the the required … | |
hi everyone, when I compilt my client side, in command line I get this error. [CODE]Note: ChatClient.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.[/CODE] and when i recompile with the option i get this worning: [CODE]warning: [deprecation] readLine() in java.io.Data InputStream has been deprecated while … | |
There are two things which I didn't or could not achieve with using maths.cos() from Java. First - When I calculate cos90 or cos270, it gives me absurb values. It should be 0. Meaning it cannot calculate if the angle lies on X axis. I tested with 91 or 271, … | |
anyone can teach me about JComboBox ?? i nid to know how come my program .. 1) if i don't click anything on my JComboBox, how the system going to capture the default value? it returned a "null" | |
i regularly go on this site called [url]www.asiantown.net[/url] but whenever i try to log on it shows a blank page with some writting on the side. Ivre reinstalled java program and even used the an old version but it still shows me a blank page. When i right click and … | |
I've created checkbox and added events to it through js file which is included in the jsp. It works fine in IE but not in Mozilla Firefox 1.5. This is the code fragments. displayCheckbox.name = "Add_" +productid; displayCheckbox.id ="Add_"+productid; displayCheckbox.onclick = EventProducer.registerEventHandler(this, 'toggleSelected', [displayCheckbox, displayLI]); displaySpan.onclick = EventProducer.registerEventHandler(this, 'clickCheckbox', [displayCheckbox]); … | |
hi everyone, i am looking for a brief introduction as to what exactly is jdbc and how do i install and use jdbc drivers with oracle 9i. and how shoud i write a code to execute queries on the tables in my oracle 9i database. | |
What is the advantage of writing the button as a seperate class. Like [CODE]private class button implements ActionListener { public void actionPerformed (ActionEvent e){ { }[/CODE] chipsncoke | |
I would appreciate if some one can help me to outline the procesure of deploying a JSP applicationo on Eclipse IDE - along with plug ins required for it. | |
whether it is true for following statments: the skill sets required to build an web-based application on Oracle XML DB Server and RDBMS are totally/almost different! | |
Hi, is it possible the html file convert to pdf documrnt and vice versa ? if, YES than I wanna source code for convert the html file to pdf document and vice versa. plzzz give me proper instraction. i m waiting for rite remady SANJAY | |
Does anyone know of a way to control volume (gain) and/or balance (pan) of a Midi file during playback using Java Sound? Thanks | |
Hey everyone, I'm really new to java and i was wondering if someone coudl help me get my output as: User Enters: canada c-a-n-a-d-a c-a-n-a-d c-a-n-a c-a-n c-a c It would be really awesome if some one could help me out please :mrgreen: | |
Hi friends. I hv got a problem while sennding a file form one computer to another over network (lan). I can send data using server and socketserver but can not send files from one computer to another. can any one help me plz. or can mail me on [email]rishik_data@rediffmail.com[/email] Thanks … | |
i have written a jdbc program and compiled it successfully on running it i got a error: Exception in thread "main" java.lang.NoClassDefFoundError: com/microsoft/util/Ut ilDummyPrintWriter at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:120) at DBCreate.main(DBCreate.java:7) the program code is as follows: import java.sql.*; import java.util.Properties; public class Rows { public static void main(String args[]) … | |
:cry: ..i hav 2 hand over my java project soon..but i cannot figure out how 2 count da vowels in text i type inside ma textfield...i need a simple method because i just started java..i will be pleased if some one can send me commands for counting vowels in a … ![]() | |
hi everyone, I have some experience with netbeans, but it is my first time for a java application. I was wondering, as the main is already placed in a package, where would i place the other classes. Is there a rule or something. Because I saw the sample and the … | |
I've been getting this message as zone alarm asks to allow or deny this ip address from sending email from my computer. I have been using Azureus to download the new Mandrake distro and my download speed stops and i get this message. (Its usually about after 4-5 hours of … | |
Hello, I'm currently creating a PlayList for a media application I am working on. I'm using a JList as the GUI object for the PlayList and a DefaultListModel as the storage area to be held in the PlayList. I was hoping that if I was to pass a DefaultListModel object … | |
I have two small programs to develop. I don't think I am capable of doing them myself; although, they should be relatively easy for any seasoned programmer. Is anyone here available to develop two small projects for a small fee? If so, please send me an email: pointermann at hotmail.com. … | |
I am using :confused: eclipse on linux and am getting the following error message::: BasicService cannot be resolved to a type What can be the reason???and the remedy too???? Thanks in advance | |
Logfile of HijackThis v1.99.1 Scan saved at 1:49:44 PM, on 12/17/2005 Platform: Windows 2000 SP4 (WinNT 5.00.2195) MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106) Running processes: C:\WINNT\System32\smss.exe C:\WINNT\system32\winlogon.exe C:\WINNT\system32\services.exe C:\WINNT\system32\lsass.exe C:\WINNT\system32\svchost.exe C:\WINNT\system32\spoolsv.exe C:\WINNT\System32\svchost.exe C:\Program Files\Norton AntiVirus\navapsvc.exe C:\WINNT\system32\regsvc.exe C:\WINNT\system32\MSTask.exe C:\WINNT\System32\WBEM\WinMgmt.exe C:\WINNT\System32\mspmspsv.exe C:\WINNT\system32\svchost.exe C:\WINNT\Explorer.EXE C:\WINNT\system32\atiptaxx.exe C:\Program Files\ahead\InCD\InCD.exe C:\PROGRA~1\NORTON~1\navapw32.exe C:\Program Files\Common Files\Real\Update_OB\evntsvc.exe C:\Program Files\HighCriteria\TotalRecorder\TotRecSched.exe … | |
Hi Guys, I want to build a personal firewall using java technology.Please help me guys. Thankyou Everybody. | |
hi everyone!! I am a final year student doing software engineering.. I need help on my final year project. I am interested in music. i have an idea but i am not sure it can be finished in 7 months time or not. my plan is a sheet music reader. … | |
why i got this error??? Is my java installation wrong? Exception in thread "main" java.lang.NoSuchMethodError:main press any key to continue............................. | |
Hello DaniWeb, . I was hoping someone could help me with a portability issue. . I've created a jar in JBuilder Foundation 2005. Said jar executes successfully on computers Alpha and Beta, but not Cimarron. When I double-click on the icon on Cimarron, a small black window flashes up and … | |
hi I was wondering if i build my instant messenger using jabber protocol how different would it be from simply building it with pure java? thanks | |
Hi guys, Most of the codes for my Java applet is done. But I couldn't figure out how do we actually convert a hand written maths formula into java programming's syntex. Any advice and guides on this? Or what keywords u use to search the internet to find such things? … | |
I'm having a problem with getting info from a county government site that uses a Java applet. I'd appreciate any help in solving this information retrieval issue, as the people I talk to at the county don't seem to be very technically literate, although I'm probably not either. To verify … | |
Hi I have this little app in java that looks like that : [IMG]http://img399.imageshack.us/img399/2046/wardrobe6cd.jpg[/IMG] Its a JFrame a ScrollPane inside and a JTable in it. I'd like to have an image displayed uder the table but I have no clue how to do this (I'm a begginer whit java) the … | |
i have created my application using java in netbeansIDE4.1(connecting with quick books,derby).how do i package or bundle my application using netbeanIDE4.1?other than jar file. please do help me. ![]() | |
Well, I am working on Linux and i need to install some editor that makes my GUI programming with Swings easier. Any suggestions for some free and hassle free downloads from the net... :rolleyes: |
The End.