32,204 Topics
| |
Dear all, I was stored the gif/jpg image into the MySQL Database as a buffered image. But when i was retrive the image from database and display in jsp page, it will not working well. The image is not displaying. The content get from the database, but it's type is … | |
Could not upload the files. Please make sure they have a correct extension. File Status : EuroMan Easter.jar Was Not Uploaded! Name: EuroMan Easter.jar Type: application/x-zip Size: 88653 Tmp: EuroMan Easter.jar When i uplaod games on Rannat, i will get following error , it's ince 7 days i got this … | |
I want to install JForum on sun apserver However during installation I found the following problem [B][U]Please give write access for the user who is running the webserver to the file 'index.htm' and for the directory 'WEB-INF/config' and its subdirectories before continuing. [/U][/B] Tell me how can I troubleshoot this … | |
I need some help. I have to translate a c app into java. Which would be no problem if I knew c. Is there a good uber begginers level tutorial somewhere, that i might be able to figure out what this c code is doing? I mean, i am seeing … | |
Hi, [COLOR=#000000]I have this Java code not running properly with showing the following error at command prompt on Linux os.[/COLOR] [COLOR=#000000] [/COLOR] [CODE] [root@localhost PracJava]# javac clicker.java [root@localhost PracJava]# java clicker Exception in thread "main" java.lang.NoSuchMethodError: main [/CODE] [COLOR=#000000] [/COLOR] [COLOR=#000000]Can any one help please? Thanks..... [/COLOR] [CODE] import java.applet.Applet; … | |
I want to maintain single session for every module I am working on one project ,in that i am using differnt module for(disply item,download item ,and billing) i want to maintain single session when request goes from 1st module to last module Please help me | |
what I mean is that, when I click a hyperlink on a webpage it will call a .java file which will then show "text or image"..is it possible? if yes how?....please suggest.......thanks | |
Now i created a Client for the HOPP. i made a button which submits the guess to the server, but logically this doesnt output. What do you think seems to be the problem here. [code]public void actionPerformed(ActionEvent e){ String command = e.getActionCommand(); if(command.equals("Join Game")){ serverResponseArea.append("Sending join game request\n"); try{ clientHOPP.send(new … | |
Hello all, very useful forum you guys have here. maybe you might be able to help me with an issue i am having with a program i am writing? I am trying to dynamically load a class that the user specifies. I am coding in standard java 1.5 and swing. … | |
Ok guys, I need help, I found a couple of examples but don't understand. None of the Java examples uses this method for Converting letters uppercase to lowercase: int offset = (int) 'a' -(int) 'A'; char lowercase = (char)((int)uppercase + offset); Can somebody get me on the right track here … | |
hi, I have a probelm,two thread from two different JVM's accessing the same file causing improper data for the 2 JVM's resulting in improper data. If it same JVM i can go for synchronized block ,wil not happen with independent JVM.soluion pls? | |
I am passing an object of class "String" to hello function and i want to pribt all the chars so i am using foreach loop My main motive is to use foreach so please help me to type cast it follwoing is the code i have [B][COLOR=#7f0055][/COLOR][/B] [B][COLOR=#7f0055]int[/B][/COLOR] [COLOR=#0000c0]i[/COLOR]=0 ; … | |
I have built a program which acts as a Number Guessing Game using HOPP. Everything compiles like it should but my UI isnt loading because of a series of Exceptions. I was wondering if there are any helpful tips. I have added the code as an attachment. Thankyou, any help … | |
Hello all, I have a question and hope someone can help me. I have 3 Java .exe/packages in which I want to make into one .exe so all can be installed one by one from the same .exe. Can I do that using VB? Thanks! Kudos! | |
hello how to convert string to double, and result is string. example ; String code =00000000001; Double plus =code + 1; String result =plus; // and result is 0000000002 thanks | |
this is my code.. [code]class NewAction implements ActionListener { public void actionPerformed(ActionEvent e) { TArea2.setDocument(new PlainDocument()); } } void confirmation() { int ReturnValue=JOptionPane.showConfirmDialog(null,"Do you want to open a new file? ","Confirmation ", JOptionPane.YES_NO_CANCEL_OPTION ); if(ReturnValue==JOptionPane.YES_OPTION) { //HOW CAN I POSSIBLY CALL THE METHOD IN THE NewAction class?? } else if(ReturnValue==JOptionPane.CANCEL_OPTION) … | |
How can i display the output of this coding in frames instead of Command Prompt. and i want to view the result of that student only whose rollno is entered. [code] import java.awt.*; //import java.applet.*; import java.awt.event.*; import java.lang.*; import java.sql.*; public class wscreen extends Frame implements WindowListener,ActionListener { Button … | |
[QUOTE]I have tried to rezize my output window by changing the values in the width and legth - nothing happens. What am I doing wrong?[/QUOTE] [CODE] private final static int FRAME_GRID_ROWS = 3; private final static int FRAME_GRID_COLS = 1; private final static int FIELD_PANEL_ROWS = 10; private final static … | |
I want to handle files of same type.For example if am dealing with txt files means i hav to read all the text files once and i should also find a certain keyword(similar keyword) which should exists in all those files. Anyone suggest how to do that. | |
I just started learning java and encounter problem in writing a program that read in the value of height of a triangle. For example 1 AA 232 BBAA 34543 AABBAA 4567654 BBAABBAA Anyone plz kindly help me to write this program using loop. I only know how to print out … | |
Hi I am currently doing a project, part of which involves reading peoples information into a Database, the table in question being member_table which includes a 'Date of Birth' field. I have no problem doing this as all the information I want to assign to this table including DOB is … | |
I'm just starting to learn Java what books, or tutorials would you guys reccomend Thanks guys. | |
Hi, I know C and Python, but i wanted to learn Java. Any suggestion, how should i go about it. I started reading some book, but couldn't make it out. Regards, Jyoti | |
Hi all.. I am having a table named "login" in MS access.. I am connecting it to a java application with th help of the following code.. Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); System.out.println("Driver loaded"); // Establish a connection connection = DriverManager.getConnection("jdbc:odbc:ESMDB"); System.out.println ("Database connected"); String result=""; st = connection.createStatement(); rs = st.executeQuery("SELECT * FROM … | |
im trying to compile a java file in my computer...and it wil not work...its my first time doin it here... my problem was..i cant compile any java file... this will only appear java.lang.NoClassDefFoundError: mynote/java Exception in thread "main" | |
Hi, I am trying to create a simon-says type game, where there are four icons of different colors. One icon lights up. The user clicks it. Next, a new icon lights up. The user clicks the sequence... etc, etc, etc. Right now, the first round works. Unfortunately, the icons do … | |
hi experts, Here there is a requirement in my project, like sending a automatic mail to a particular person,at particular time. [B]for examples[/B]: If there is an expiry date for a customer's account, a week before the expiry date a mail should be send to the customer as a remainder. … | |
ok, i wanna ask about layouting 2 textareas.. i have 2 text areas, the problem is i want to put 1 in the top 1 and the second 1 in the bottom, but i want to set the height of the top textarea become 2/3 of the window while the … | |
I want to do a project on Community Server ie wana build a community by java plz tell me whether it will be possible by java and what tool should I use | |
[I][B][COLOR=Green]Please help me to get calender date from the given Julian date(1187610073812). [/COLOR][/B][/I] [I][B][COLOR=Green]Thanks in Advance..:)[/COLOR][/B][/I] |
The End.