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 bkrike 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: *

  • Users: brinker
  • Content: Threads
  • Order by date
  1. brinker

    Using the InitialContextFactory with Sun App Server

    Hello everyone, I have been a long time member of tek-tips, but am fairly new to the J2EE forum. I am trying to access a Java bean deployed using Sun Application server from outside the container (ie. an external client Java program). There are no jsp pages, just an application client and 1...
  2. brinker

    Running Servlets Using Tomcat

    Hi all, I am very new to the forum, but I have been programming in Java for years. I have the most weird problem running my own servlets in Tomcat. I believe that I have installed the Tomcat program correctly because there are no errors and I can run the example servlet applications provided...
  3. brinker

    JTable Listeners

    Hi All, I have a pretty simple question regarding JTables. Basically, I am trying to update one column dynamically based upon the user typing in a value into another column. My Key pressed action listener appears to be functioning properly as it processes the event. However, when I try to get...
  4. brinker

    URL freezing

    Hi, I have written a program that loops around grabbing information from one URL, but with different search queries. The program sometimes runs for days until completion as expected. However, other times, it freezes for unknown reasons. I am catching all errors, but there are none to be caught...
  5. brinker

    Closing Threads

    Hi, I have a pretty simple question. I have written a multithreaded program and it seem to work pretty well. However, when the threads are done their execution, the program does not seem to finish, but just hangs. I thought that when the threads finished their execution, the resources were...
  6. brinker

    Query URL Question

    Hi Everyone, I know how to get the content for basic HTML pages using Java. However, when I try to get the content for something like "http://inventory.overture.com/d/searchinventory/suggestion/?term=telephone.com", Java responds that I am including an illegal character (ie '?') in...
  7. brinker

    Reading Google Result URLs

    Hi, I am pretty familar with the Java programming lanuguage, and have written code to read the get the html code of general URLs. However, if the URL takes the form of a google search result (ie) ...
  8. brinker

    Creating a Custom Comparator

    Hi, I have been trying to figure out how to create a custom comparator that I can use to handle a list of items of a user defined data type. For instance: class mytype { int a; String b; String c; URL d; } If I want a comparator that can order these items by int a, how could I construct...
  9. brinker

    Updating JList on GUI

    Hi All, I have a JFrame which contains a JList Object. I initialize the JList object normally using: urlList = new javax.swing.JList(barstools); However, I want to be able to add to the JList and Remove from it. There is an actionListener for a menubar item that deletes all the items from the...
  10. brinker

    JFrame update

    Hi everyone, I was wondering if anybody could help me with this problem. I have a main class which extends JFrame and it contains a JTextArea. The main class makes a call to another class which performs some processing in a looping manner: while (s.hasMore()) {...
  11. brinker

    Displaying HTML documents using JAVA

    Hi, I am having trouble writing a program that can display html files, and allow the user to use scrollbars to view the entire document. The characters appear blurred and distorted whenever I use the scrollbars. The original html area that can be viewed is cleared, until the scrollbars are...
  12. brinker

    Printing on Muliple Pages

    help!!! I have spent the last few days trying to print a JTextArea over multiple pages. The code I have worked with seems to print the contents of a JTextArea fine over a single page, but fails to print any further. I have provided this code below. If anybody knows how I can extend it to print...
  13. brinker

    Printing in Java

    Hello all, I am having some trouble printing the contents of a string using Java. I am using the syntax below. It seems to work well if the string consists of normal characters, but malfunctions if the string contains special characters such as '\n', '\t' ,etc. As most documents contain these...
  14. brinker

    Is there a Way to set JScrollPane

    Hello, I have a pretty easy question, providing that somebody knows the solution. If I have a JScrollPane that contains a JTextArea and JTextArea keeps getting data appended to it. Is there a way (ie. a fxn call) that I can use to automatically scroll to the bottom. thanks Brinker
  15. brinker

    How to capture text os output

    Hello, I have been working on a problem that involves executing a command line statement in java such as gcc -c fileName. I want to capture the screen output (ie. errors, success) which generally appears as text such as : compile successful or Error in line 23 Since these commands do not...
  16. brinker

    Viewing OS output from trying to execute a command line statement

    Hello all, I am trying to construct a program that tries to execute a command line statement inside a Java program. I have determined that the syntax below works well if the statement is valid (ie. runs a self contained c program). However, if the statement is invalid, there is nothing...
  17. brinker

    How to integrate a JButton with an external JFrame

    Hello all, my problem is probably a fairly routine one. I have built an application which consists of 2 classes. The first class is the main class and contains a word processor like text area and a menu bar. The second class contains a JFrame including various text JTextFields and one JButton...
  18. brinker

    Need help launching external executable files from a Java program

    Hello, I am trying to launch and executable file from witin a Java program (under a Windows 98 and Unix platform). I am using the following code to launch the executable using Windows: import java.io.IOException; public class WorkingWithExeFiles { public static void main(String argv[]) {...

Part and Inventory Search

Back
Top