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 Wanet Telecoms Ltd 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: brownie124
  • Content: Threads
  • Order by date
  1. brownie124

    Performance increase for batch transactions?

    Hi, If I am inserting millions of records (in small batches of 5000 at a time), would I get any measurable performance gain by doing these in a transaction and committing the 5000 all at once as opposed to inserting one at a time. The records themselves are relatively small, 3 columns, 1...
  2. brownie124

    MySQL 4 Dbs -> MySQL 5?

    Hi, I have a machine that has MySQL 4. something on it. Can I just copy those databases to another machine that has MySQL 5 on it and have them work properly? Thanks, - Brownie
  3. brownie124

    Can I get a MAPI question answered in this forum

    Hi, I tried to find a "programmer" forum for MAPI questions. This is the closest I came to. I have a GetContentsTable question -- any experts out there? Basically it is this: will the size of the folder affect the performance of GetContentsTable? Also, can I get the size of the contents...
  4. brownie124

    Question about a large table

    Hi, Would this be a bad idea: A table that could have in upwards of 25,000,000 records. There are 4 fields numeric fields in the table and the record length is 14 bytes. The primary key is 12 bytes. This table would not be modified during the day. There would be a process at night that would...
  5. brownie124

    Problem executing jar file

    Guys, I am getting the following error when I try to run my program from a jar file. Note: this is not the main class. I created my jar file specifying a manifest which specifies Main-Class. That works great. However, I am not able to get any further. The very next class that it tries to...
  6. brownie124

    SetIntField(), String equivalent??

    Hey guys, is there a JNI function that is equivalent to SetIntField() that can deal with Strings? I looked at the online reference and I didn't see anything. Thanks, - Brownie
  7. brownie124

    JNI question (javai.lib????)

    Hi, I have now seen a couple of examples for using the JNI to call a functions within a dll. In both samples the makefile said to link with javai.lib. I do not see that on my system anywhere. What is it? Do I really need it? If so, where do I get it? Thanks, - Brownie
  8. brownie124

    Detecting existence of window?

    Hi, I am trying to prevent users from having multiple versions of the Java app up at once. Is there a way to detect if the app is already up? Is there a way to detect the existence of other application windows? Thanks, - Brownie
  9. brownie124

    opening files?

    Hi, Very new to VBScript and ASP. I am trying to open a file in my ASP and it isn't working. Here is the code: Dim strFileName strFileName = "foo.txt" Set fso = CreateObject("Scripting.FileSystemObject") Set datafile = fso.OpenTextFile(strFileName, ForReading) ' More...
  10. brownie124

    Frame.class?

    I was looking through the frame.java source code and noticed Frame.class is being passed as a parameter to some method calls within addToFrameList(). What is this exactly? Does anyone know where exactly the code is that does the actual building and painting of a window? For example: I am...
  11. brownie124

    Trapping events (JDK 1.2)

    Hi, I want to prevent my window from being iconified. I see that I can set up a window listener and implement the method windowIconified(). However, that is after the fact. I want to capture it before it happens and discard or consume the event. Or, better yet, prevent the event from ever...
  12. brownie124

    Acceptable practice?

    Hi, I was curious as to what the common practice is regarding subclasses is? Is it common practice to use subclasses as opposed to creating a brand new top level class? Or does it depend on things like: - Will the class be instantiated by any other classes really? If not, then it probably...
  13. brownie124

    NMAKE problem

    This isn't a C++ problem really but I thought someone here would know the answer. I have manually created a makefile to actually compile java applications. However, it will only compile the first one and nothing more. Here is an example of the make file: PREFIX=foo $(PREFIX).class...
  14. brownie124

    drawString working, drawImage isn't

    I have written a fairly complex package that is a custom component. I am using 1.2. I have overridden the paint() method in a class. It calls a method of another class and passes on the Graphics parameter passed into the paint method. Drawing text and lines works fine. However, I go to draw...
  15. brownie124

    String array -> char array

    Hi, I have a 2 dimensional String array, something like this: String foostring[][] = { {"hello"}, {"there"} }; I am trying trying to get those values into 2 dimensional character array. I have it define in my class as: char foochar[][]; I am having a hard time getting...
  16. brownie124

    GridBagLayout and "total control"

    Hi, Being new to Java and coming from doing Windows API development where you do truly have total control over placement of items, I am finding control/component placement extremely challenging in Java. If I have a window that is 400 x 200 and I want to place a check box or any other control...
  17. brownie124

    Mixing Graphics and Components

    Hi, I am very new to Java and am trying to do something that seems simple. I am drawing a rectangle and then attempting to put some components (Checkboxes, Lists, etc.) in the rectangle (NOTE: I cannot use the swing package so this is all AWT and Graphics). I am having all kinds of problems...
  18. brownie124

    Constructor calling a constructor

    I receive the error when I compile the code below. What is wrong? "Only constructors can invoke constructors" class MyGroupBox { public void MyGroupBox(int x, int y, int intWidth, int intHeight) { this(x, y, intWidth, intHeight, ""); } public void MyGroupBox(int x...
  19. brownie124

    Basic Graphics questions

    Hi, In all the examples I see of using Graphics in Java it is all with applets. I am talking about doing things like draw3DRect, drawRoundRect, etc. This must be able to be done in a Java app, correct? Also, can I paint graphics to a dialog box? Thanks, - Michael
  20. brownie124

    Tool tip?

    Hi, Is there a tool tip class or a fairly painless way to generate tool tips NOT USING SWING. I would like to mouse over items in a LIST box and pop up a description of the item. Thanks, - Brownie

Part and Inventory Search

Back
Top