Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sjohri214

    setting max_allowed_packet

    Thanks for the help Vanekl.. that did the trick thanks again.. much appreciated
  2. sjohri214

    setting max_allowed_packet

    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...
  3. sjohri214

    How to Split Large Strings?

    Thanks for the help guys
  4. sjohri214

    How to Split Large Strings?

    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
  5. sjohri214

    How to Split Large Strings?

    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...
  6. sjohri214

    Splitting Strings into Characters??

    Thanks for the reply kaht, I used the code u provided.. although it was showing an error message &quot;incompatible types&quot;. So.. i used the following instead: s = new String[sequence.length()]; int j; for ( j = 0; j < sequence.length()...
  7. sjohri214

    Splitting Strings into Characters??

    Hi, I was hoping that someone could tell me how to split a String into its constituent characters? For example: String seq = &quot;ABCDEFGHIJ&quot;; 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 =...
  8. sjohri214

    How to count down seconds??

    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.
  9. sjohri214

    How to count down seconds??

    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
  10. sjohri214

    How To Remove NewLine Characters from Strings?

    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 &quot;www.ncbi.nlm.nih.gov/blast&quot;, but because of the presence of newline characters I get an exception stating that my query string i.e...
  11. sjohri214

    How To Remove NewLine Characters from Strings?

    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...
  12. sjohri214

    Getting Data stored in a hyperlink??

    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...
  13. sjohri214

    Posting Data using HTTPClient (Innovation)

    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.*...
  14. sjohri214

    Printing text to the console from JTextArea

    Thanks for the reply, That did the trick just fine. Thanks Again
  15. sjohri214

    Printing text to the console from JTextArea

    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...
  16. sjohri214

    displaying results in a JEditorPane

    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...
  17. sjohri214

    calling programs from Java

    Thanks for the link to this article
  18. sjohri214

    calling programs from Java

    Hi Again, I figured out how to do it - using Runtime.exec(), so don't worry Thanks Anyway
  19. sjohri214

    calling programs from Java

    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
  20. sjohri214

    Replacing Values with other values

    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!!

Part and Inventory Search

Back
Top