Hi all,
I am having a problem with adding a large String to a mySQL field.. The size of the String is ~ 4MB and the datatype of the field to which I am inserting the string is - longtext.
When I try to insert the String I get errors - i.e.
"com.mysql.jdbc.PacketTooBigException"
I...
Hi,
Sorry, I should have been a little clearer.
The String has been read directly from a File (located on my System - read in using BufferedReader br = new BufferedReader(new FileReader(fileName))).
And the lines are always separated with the \n newline character.
Thanks again
Hi,
I have been trying to figure out how to split a large String into smaller Strings.
so if I have a String such as the following:
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGH...
Thanks for the reply kaht,
I used the code u provided.. although it was showing an error message "incompatible types".
So.. i used the following instead:
s = new String[sequence.length()];
int j;
for ( j = 0; j < sequence.length()...
Hi,
I was hoping that someone could tell me how to split a String into its constituent characters?
For example:
String seq = "ABCDEFGHIJ";
How can this String be split into characters
A
B
C
D
E
etc, and then assign those characters to separate strings?
e.g. String s1 =...
Hi Pete,
Thanks for the response.
Although I would like to produce a counter in order that I can display to the user how long it will take for the task to be completed.
Hi,
The question I have is, if I have declared an int value (the value 20 for example), how can i make a counter to count down from 20 seconds down to zero?
Any Help would be much appreciated
Thanks
Hi,
The Data is being pasted into a jTextArea from a .txt file.. the I'm having is that I'm trying to Post this data to a web browser "www.ncbi.nlm.nih.gov/blast", but because of the presence of newline characters I get an exception stating that my query string i.e...
Hi all,
The question I have is, How do I remove newLine characters from Long Strings such as the following:
>gi|23821530|dbj||SEG_D10989S Bos taurus gene for endothelin receptor
GGGATCCCGAGCAAACTGCGGAGGCCACACTGTCAGGCATTCCCTCGGCGTTTCGTCAGAGCCAGACCCT...
Hi,
I have the following problem,
I have connected to a web server using the HTTPCLient library provided by Innovation.ch and have posted some data to a web server (using the code that I have added at the bottom of this post).. and want to be able to view the data that has been returned from...
Hi all,
I have the following problem:
I'm using HTTPClient library from Innovation.ch and have used the following code to post data to the following website : http://blast.genome.ad.jp/
import java.io.*;
import java.applet.*;
import javax.swing.*;
import java.util.*;
import java.awt.*...
Hi,
I'm having a problem getting the text i have entered within a JTextArea to print to the screen (console).
When i enter text in the JTextArea or open a file into the JTextArea (using a Filechooser) and then click on a JRadioButton - the value entered within the JTextArea should print out to...
Hi,
I have an application that connects to a database and retrieves results from the database and then displays the results in a JEditorPane - the results are in the form of a hyperlink - so when i click on the link then a web page is opened up inside of the JEditorPane.
The question i have...
Hi,
My Question is, can i call a program ( MS-word for example) which i have installed on my system using Java ?
I would be grateful for any assistance
Thanks
Hi HavaTheJut,
Thanks very much for the help, i was trying to find a way of referencing the captured groups using the m.group method, and didn't realise u could use the $1 method - (i thought this was restricted to Perl!)
Thanks again for your help
Much appreciated!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.