|
I had upgraded QuickBooks 2009 to 2010 edition for my dad. The conversion started off at taking four hours, then down t 2 and a half hours, down to twelve minutes then down to 3. The whole process took around 2 minutes.
|
|
|
|
|
Umm, I think maybe this belongs to an alternative thread.
|
|
|
|
|
Hello Friends
I m using MouseZoom in my application and it is zoooming fine but when I zoom Out with mouse wheel then after zooming up to a certain point the image becomes invisible and then I have to again zoomin then it comes in.I dont want to make that image invisible when i do zoom out.
Do u have any Ideas?
Thanks & Regards
Yogesh
|
|
|
|
|
please mail the java coding for Packet Scheduler with Packetized Ordered Round Robin Scheduling
|
|
|
|
|
thileebandr wrote: please mail the java coding ...
That's not the way it works here. Show us what you have tried and what is not working, and people will try and help. If you want someone to do your work for you then try the Jobs forum.
|
|
|
|
|
hello Friends
I m reading a file using tokenizer and in that i am reading some bitmap paths but I dont know after reading all the paths it starts again and gives me this exception:
java.net.MalformedURLException: unknown protocol: e
eVEN i M using the condition of tokenizer.TT_EOF
Please suggest me y this exception is coming?
Thanks
Yogesh
|
|
|
|
|
Hint: MalformedURLException
It looks as though the URL you are using contains some invalid formatting or characters. Take a look at the content and see what is wrong with it.
|
|
|
|
|
thx for ur reply.
I want to know how can we read a .tga extension image file using imageIO.read.
I am reading .jpeg file but it is not reading .tga file.
I am doing like this:
String imageFilename = "c:\\sample.jpg";
imageIO.read(new File(imageFilename));
Any Ideas for rading .tga file?
Thanks in Advance
Yogesh
|
|
|
|
|
yogeshs wrote: Any Ideas for rading .tga file?
Sorry no; did you try Google?
|
|
|
|
|
ok,no prob.I tried google first.
But if u get then plz tell me.
thx anyway.
|
|
|
|
|
Yes, I looked at Google also and it seems TGA is not supported in native Java. However there were a few links which may offer the answer; I searched on ImageIO TGA Java.
|
|
|
|
|
|
Sorry, but I don't know anything about TGA, you will have to work it out for yourself using whatever documentation and other tools are available. It's a pity that you are forced to use a file format that does not have widespread support!
|
|
|
|
|
Richard MacCutchan wrote: a file format that does not have widespread support
TGA files are very widely supported within certain applications, e.g. games, CGI, ray-tracing, things like that. The fact that Java does not support it natively does not mean that it does not have widespread support.
|
|
|
|
|
David Skelly wrote: The fact that Java does not support it natively does not mean that it does not have widespread support.
My comment was strictly within the context of this Q&A and was nothing to do with the world outside.
|
|
|
|
|
imagetype is part of the standard tga file header. If your file doesn't have this, are you sure it is a valid tga file? (Sorry if that's a dumb question.) Without an imagetype you don't know whether the image is compressed or not so how can you load it?
|
|
|
|
|
David Skelly wrote: Sorry if that's a dumb question
Not dumb at all, I missed it when reading the OP's entry.
|
|
|
|
|
OKK,Hang on Guys....... I got the solution and and I am able to read tga file now.And Tga file is used almost in 3D and Gaming,max at too many places dear.
but ,anywayy thx for ur help.
Yogesh
|
|
|
|
|
I want to learn networking projects. So there should be a server and a few clients to test my code. Unfortunately I have only a single machine. Is there any software available for simulating a server and a few clients( or one client) in a single machine?
|
|
|
|
|
You don't really need anything special unless you are concerned about the networking. Just set up the server listening for connections and run the client so it will connect to the correct prort on the local host.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Hi,
I have been trying to use Flexigrid(jQuery plugin) with JSP and/or to a Servlet. But I don't seem to find any solutions. I tried to use JSON but it doesn't seem to work. I'm very new to Flexigrid and still getting a hang of it. Can anyone give me advice on what are the things that I should consider? Thanks in advance guys.
Thank you,
Paul
|
|
|
|
|
<script language="javascript">
function checkForm(){
var objForm = new Object();
var objFullNameTextBox = new Object();
var objMessageBox = new Object();
var objAddress = new Object();
var objNRIC = new Object();
var objContact = new Object();
var objEmail = new Object();
var objDOB = new Object();
var objGender = new Object();
var objType = new Object();
var objRemarks = new Object();
var strMemberName = new String("");
var strEmail = new String("");
var strAddress = new String("");
var strNRIC = new String("");
var strContact = new String("");
var strGender = new String("");
var strType = new String("");
var strRemarks = new String("");
var blnIsAllOkay = new Boolean(true);
var strMessageToUser = new String("");
objForm = document.getElementById("frmData");
objFullNameTextBox = document.getElementById("txtFullName");
objMessageBox = document.getElementById("divMessage");
objAddress = document.getElementById("txtAddress");
objNRIC = document.getElementById("txtNRIC");
objContact = document.getElementById("txtContact");
objEmail = document.getElementById("txtEmail");
objGender = document.getElementById("txtGender");
objType = document.getElementById("txtMember");
objRemarks = document.getElementById("txtRemarks");
strEmail = objEmail.value;
strAddress = objAddress.value;
strNRIC = objNRIC.value;
strContact = objContact.value;
strGender = objGender.value;
strType = objType.value;
strRemarks = objRemarks.value;
strEmail = trimData(strEmail);
strAddress = trimData(strAddress);
strNRIC = trimData(strNRIC);
strContact = trimData(strContact);
strGender = trimData(strGender);
strType = trimData(strType);
strRemarks = trimData(strRemarks);
strMemberName = objFullNameTextBox.value;
strMemberName = trimData(strMemberName);
if (strMemberName=="" ){
strMessageToUser += "Please indicate Name<br>";
blnIsAllOkay = false;
}
if (strNRIC=="" ){
strMessageToUser += "Please indicate NRIC No<br>";
blnIsAllOkay = false;
}
if (strAddress=="" ){
strMessageToUser += "Please indicate Address<br>";
blnIsAllOkay = false;
}
if (strContact=="" ){
strMessageToUser += "Please indicate Contact<br>";
blnIsAllOkay = false;
}
var NRICRegEx = /^[A-Z]\d{7}[A-Z]$/;
if(strNRIC.match(NRICRegEx)){
blnIsAllOkay == true;
}else {
strMessageToUser += "Please indicate correct NRIC.<br>";
}
var emailRegEx = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if(strEmail.match(emailRegEx)){
blnIsAllOkay == true;
}else{
strMessageToUser += "Please indicate correct email.<br>";
}
var ContactRegEx = /d{8}/;
if (strContact.match(ContactRegEx)){
blnIsAllOkay == true;
} else {
strMessageToUser += "Please indicate correct Contact Number<br>";
}
To check that one of the radio buttons for Gender is selected
var radioChecked = false;
for (var i=0; i < strGender.length; i--){
if(Gender[i].radioChecked){
strMessageToUser += "Please check that one of the buttons for Gender is selected>";
}
function trimData(pstrData){
var intIndex=0;
var intRightIndex= pstrData.length -1;
while((intIndex < pstrData.length) && (pstrData.charAt(intIndex) == ' '))
{intIndex++; }
while((intRightIndex > intIndex) && (pstrData.charAt(intRightIndex) == ' '))
{intRightIndex-=1;}
return pstrData.substring(intIndex, intRightIndex+1);
}
if (blnIsAllOkay==true){
objForm.submit();
}else{
objMessageBox.innerHTML = strMessageToUser;
}
function clearErr() {
objMessageBox = document.getElementById("divMessage");
objMessageBox.innerHTML = "";
}
}
</script>
</head>
<body>
<form id="frmData" name="frmData" action="addmember"
method="post" >
<table border="0" style="width:500px;padding:3px;" >
<tr>
<td colspan="2" class="tdTitle" >Member Registration</td>
</tr>
<tr>
<td>Full Name</td>
<td><input type="text" id="txtFullName" name="txtFullName" value=""></td>
</tr>
<tr>
<td>Email</td>
<td><input type="text" id="txtEmail" name="txtEmail" value=""></td>
</tr>
<tr>
<td>Address</td>
<td><input type="text" id="txtAddress" name="txtAddress" value=""></td>
</tr>
<tr>
<td>NRIC No</td>
<td><input type="text" id="txtNRIC" name="txtNRIC" value=""></td>
</tr>
<tr>
<td>Contact</td>
<td><input type="text" id="txtContact" name="txtContact" value=""></td>
</tr>
<tr>
<td>Gender</td>
<td><input type="radio" id="txtGender" value="Male" name="txtGender"/>Male
<input type="radio" id="txtGender" value="Female" name="txtGender"/>Female</td>
</tr>
<tr>
<td>Type</td>
<td><select name="txtMember" id="txtMember">
<option>Member</option>
<option>Volunteer</option>
</select>
</td>
</tr>
<tr>
<td>Remarks</td>
<td><input type="text" id="txtRemarks" name="txtRemarks"></td>
<tr>
<td colspan="2"><div id="divMessage"></div></td>
</tr>
<tr>
<td colspan="2" align="right">
<td><input type="button" id="btnSubmit" name="btnSubmit" value="Submit" onclick="checkForm();" /></td>
<td><input id="reset" type="reset" value="reset" onclick="clearErr();"/></td>
</tr>
</table>
</form>
</body>
</html>
|
|
|
|
|
This is no good, you need to explain what is not working, as we cannot guess, and few people have the time to read through your code and work out what is happening. Also this is not a Java question, and would be better posted to the Web Development forum.
|
|
|
|
|
Whenver there's blank, an error message will appear and when the entry doen't meet the regular expression, it will also show error message.
The thing is that both messages will appear even though I just submit without enter anything.
Then I have problem with radio button validation for gender.
Pls advise. Tks.
|
|
|
|
|
Sorry...the reset button is also not working. The netbean IDE keeps on asking to to create an Object.
|
|
|
|