32,199 Topics

Member Avatar for
Member Avatar for sach_ak47

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

Member Avatar for lookof2day
0
85
Member Avatar for apontutul

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

Member Avatar for lookof2day
0
95
Member Avatar for Nperic

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 …

Member Avatar for Nperic
0
153
Member Avatar for deridder149

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

Member Avatar for deridder149
0
90
Member Avatar for Dio1080

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 …

Member Avatar for Ezzaral
0
154
Member Avatar for vivek_green

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?

Member Avatar for Ezzaral
0
98
Member Avatar for staneja

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

Member Avatar for Ezzaral
0
88
Member Avatar for Nperic

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 …

Member Avatar for Nperic
0
107
Member Avatar for pbrookee

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!

0
61
Member Avatar for onsir

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

Member Avatar for masijade
0
152
Member Avatar for w32.sysfile

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

Member Avatar for orko
0
105
Member Avatar for sam18

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 …

Member Avatar for Ezzaral
0
156
Member Avatar for bigbluesky

[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 …

Member Avatar for Ezzaral
0
78
Member Avatar for abar_sow

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.

Member Avatar for jwenting
0
86
Member Avatar for comtech

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 …

Member Avatar for iamthwee
0
100
Member Avatar for pmhayden

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 …

Member Avatar for pmhayden
0
99
Member Avatar for Paradox1

I'm just starting to learn Java what books, or tutorials would you guys reccomend Thanks guys.

Member Avatar for jwenting
0
358
Member Avatar for JyotiC

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

Member Avatar for JyotiC
0
119
Member Avatar for BalagurunathanS

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 …

Member Avatar for jwenting
0
101
Member Avatar for javakeith

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"

Member Avatar for w32.sysfile
0
121
Member Avatar for Ghost

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 …

Member Avatar for bryantpurdin
0
1K
Member Avatar for techkar

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

Member Avatar for flakita227
1
2K
Member Avatar for w32.sysfile

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 …

Member Avatar for w32.sysfile
0
95
Member Avatar for arkaprava

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

Member Avatar for ksaxena
0
91
Member Avatar for sarath.koiloth

[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]

Member Avatar for masijade
0
92
Member Avatar for arkaprava

I have done a stand alone project on Java Swing and MySql where the frontend is designed by Swing and backend is designed on MySQL I wanna build an exe of the project by incorporating the MySql schema and tablespace into the archieved file(exe/jar) Plz tell me whether is it …

Member Avatar for arkaprava
0
299
Member Avatar for CurtisBridges

I seem to really be lost. I have included the instructions for this problem, for you clarity only. I'm not asking you to do the work.I really want to learn java. I have read this complete chapter Three times now and seem to not be getting through my thick skull …

Member Avatar for jwenting
0
1K
Member Avatar for mimsc

trying to see if the last character is a '>'......any suggestions I already know how to check for the character heres what I got if (userData.getName().charAt(0)!='<' ) { thank

Member Avatar for mimsc
0
117
Member Avatar for kahilw

I am trying to insert a jtable into another jtable is that possible. Please help

Member Avatar for Phaelax
0
153
Member Avatar for slacke

I am searching for a long time in my laptop (WinXp) from where starts the services like mysqld.exe and java.exe. They start at boot time and make 860 MB use of virtual memory. They seems to be connected (mysqld and java) because when I stop the mysqld only, my Virtul …

Member Avatar for slacke
0
78

The End.