35,586 Topics

Member Avatar for
Member Avatar for AhmedGhazey

Given a word, check whether it is a simple English word, with these characteristics: Contains at least one vowel, Doesn’t contain three consecutive vowels or consonants, Vowels ‘e’ and ‘o’ can be repeated twice consecutively, but other vowels can’t. Can it be done using traditional regular expression?!! the question what …

Member Avatar for AhmedGhazey
0
139
Member Avatar for 47pirates

Is it possible to create a microsoft access database (mdb) file through a java program? and how to register the thus created mdb file to ODBC center? thanx in advance

Member Avatar for mKorbel
0
242
Member Avatar for gcclinux

Hello, I am new to this codding stuff and I am only doing it for fun (personal little project) and for learing as I am not programer in any language apart from knowledge in shell scripting :( Anyway after a few weeks looking at examples and searching the net and …

Member Avatar for dononelson
0
152
Member Avatar for Carrots

Hi there, I'm completely new to Java. I am trying to use [I]import[/I] in a project, but despite using what I think is the right code, my application fails to build. When I build my app, it builds and runs fine, but I want to use [I]JFileChooser[/I], so add this …

Member Avatar for Carrots
0
103
Member Avatar for SMITA6076

I have two classes. The first class is called [ICODE]EmployeePayRoll.java[/ICODE] (this compiles fine) and the second is called [ICODE]TestEmployeePayRoll.java[/ICODE] (this does not compile). The trouble I'm having is that I'm trying to pass in methods as parameters when I instantiate my objects in the main method of the test class. …

Member Avatar for SMITA6076
0
291
Member Avatar for MisterSinyster

Create a constructor for the Delivery class that accepts arguments for the year, month, and delivery number within the month, delivery distance code, and weight of the package. The constructor determines the six-digit delivery number and delivery fee. Also include a method that displays every Delivery object field. Save the …

Member Avatar for dononelson
0
111
Member Avatar for sasi_88

[CODE] <html> <head> <script> function A() { var oas = new ActiveXObject("Scripting.FileSystemObject"); var d = document.a.b.value; var e = oas.getFile(d); var f = e.size; alert(f + " bytes"); } </script> </head> <body> <form name="a"> <input type="file" name="b"> <input type="button" name="c" value="SIZE" onClick="A();"> </form> </body> </html> <html> <head> <script> function A() …

Member Avatar for Stefan_Lam88
0
139
Member Avatar for rohit2

Hi, I have a JTextPane and want to know if there is a way to get the (x,y) pixel position of the current cursor. I don&#39;t want the caret position that&#39;s from getCaretPosition(), but the pixel co-ordinates of where the cursor currently is. I&#39;m using a variable width font in …

Member Avatar for Ezzaral
0
117
Member Avatar for Stefan_Lam88

Hi everyone, I have a question. I m using iterator to loop my jsp such as code below in my jsp [CODE]<%Iterator itr;%> <% List data=(List)request.getAttribute("data");%>[/CODE] I use servlet as my engine to proceed my sql statement. below is my sql statement [CODE]select * from a natural left join b …

Member Avatar for Stefan_Lam88
0
159
Member Avatar for MisterSinyster

it compiles fine but when i go to run the program the only output is "Cut Shampoo" and the program ends. Any help will be greatly appreciated i need to have this finished soon. Description Create a class for services offered by a hair-styling salon. Data fields include a String …

Member Avatar for mKorbel
0
592
Member Avatar for sumprit

Sir, i have used two JButtons(Next,Previous) to perform actions. In a JTable, before clicking JButtons there is my 1st result. once i clicked the Next JButton then it show me the 2nd results in a JTable, and again clicking Next, it shows the 3rd result in JTable. Same thing applies …

Member Avatar for JamesCherrill
0
2K
Member Avatar for fonzi

So, i have to methods in a non main class and i need to figure out how to print both the println in a chart with two columns should look something like this x : y x : y x : y x : y x : y but instead …

Member Avatar for fonzi
0
124
Member Avatar for fonzi

so i am working on a assigment for school, and i need help with the java.util.Calendar , i am trying to increment the year of as today by one each index of an array . This functions needs to be inside a toString(). so i need some help i know …

Member Avatar for fonzi
0
223
Member Avatar for abhishek20
Member Avatar for abhishek20
0
276
Member Avatar for kenjiro310

[CODE][/CODE] I am trying create a Java program which draws a bar graph based on the input from the command line. Problem i am running into is that I cannot get the values of the Args[] starrting at index 2 to provide values unless i specify the numbers. ANy thoughts …

0
53
Member Avatar for wonder_laptop

i reading a book about aglets, in this book, there is a piece of code demonstration Master/slave aglets and they say: [CODE] sayItAgletRemoteProxy = sayItAgletLocalProxy.dispatch(new URL("atp://localhost:9000")); // unfortunately this remote proxy is invalid in version 1.1b1. The aglet book is based // on version 1.02. See ch 7. p. 121. …

Member Avatar for wonder_laptop
0
208
Member Avatar for Dean_Grobler

Hi guys, I'm looking into getting into the mobile development industry. Altough I'm being pulled in two directions and can't make up my mind. Which would be the wiser option, Blackberry or Android? Basically making the choice based on where the industry is going for both, job oportunities, popularity etc. …

Member Avatar for Dean_Grobler
0
217
Member Avatar for hindu times

Hey, Just a quick question. My webpage is all working fine in IE9, new Firefox, Safari, Opera, and Chrome, but in IE7 it's flagging errors to do with the Facebook share buttons (javascript). When you click them nothing shows up. I was wondering if you could tell me what I …

Member Avatar for hindu times
0
140
Member Avatar for visweswaran28

Hi, I am using netbeans 7.0 beta IDE and I have iinstalled jdk 1.6 and tomcat 7. I tried to run simple jsp program through IDE, but I got *"Must select some files in the IDE or set javac.includes"* this error message. I set java_home classpath, I have tried without …

Member Avatar for peter_budo
0
61
Member Avatar for bharath54321
Member Avatar for titosd

Hello, I have to do backup program using rmi but I have a problem, when i compile the program the update method does not work correctly. can any one help me ? the classes in the atachments thank you

Member Avatar for thekashyap
0
50
Member Avatar for bharathisankhya

Hello All, We are facing a probelm in importing JetspeedRunData in sakai project. Pls help me to solve the issue.

Member Avatar for mKorbel
0
47
Member Avatar for Hey11

i want to write a program that changes all the 'a' charachters to 'v' but the problem instead prints all the message as vvvvvvvvv here is the code [CODE] class operation { public String encode (String args) { StringBuilder mago = new StringBuilder(); char a, b; b='a'; for (int i=0; …

Member Avatar for jwenting
0
90
Member Avatar for sumprit

Hi everyone...., i need some suggestion whether it is possible to perform actions for each click of a single JButton. What i mean to say that for each click of a single JButton is it possible to perform actions for each time the JButton is clicked? Please give me some …

Member Avatar for sumprit
0
81
Member Avatar for rajeesh_rsn

Hi , I want to confirm a delete function using javascript .. In detail I want to display a list using php Mysql as follows No + Name + ---------------------------------- 1. + Raj + Delete 2. + Raj2 + Delete ---------------------------------- When user clicks on Delete button that will leads …

Member Avatar for Akash Saikia
0
149
Member Avatar for XodoX

I did this code ( this here is just a piece of it), and there's supposedly an incomplete function in there. I'm not sure what how to solve this. I suppose the boolean is wrong? I indicated where the problem is in the code. [code] public class Person { private …

Member Avatar for XodoX
0
175
Member Avatar for Taimoor Rana

Hello guys, Im tring to make a stopwatch display in JTextField but so far i'am unable too :-(. The stopWatch itself is working perfectly but only in the system output window... I want the time to be displayed in the textfield(or Label) which is within a JFrame. I'll appreciate any …

Member Avatar for Taimoor Rana
0
829
Member Avatar for vijaygupta

hello, I have build an code for opening a map in thick box but i have problem closing it ,i have to click outside a thickbox please help

Member Avatar for tinymark
0
226
Member Avatar for kay19

Well, I seem to have some little error. Purpose: Finding Max and Min numbers from txt file by inputting four numbers. Then I calculate the Range by using (Max - Min) Problem: It does great with positive numbers. However, when I input negative numbers, calculation seems to be off. For …

Member Avatar for kay19
0
172
Member Avatar for mathews123

i tried using this where ros and cols is an integer which is equals to 8 [CODE]if (i == ros || j == cols) { if (i == ros && j > cols) { cols++; } else if (i == ros && j < cols) { cols--; } else if …

Member Avatar for mathews123
0
279

The End.