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 SkipVought 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. wadewells

    OOP concept

    &nbsp;&nbsp;Do we model light as waves or particles? It depends on what works best in a particular situation.<br>&nbsp;&nbsp;Objects have state (attributes) and behaviour (methods). What do we do about the two extreme cases - all state and no behaviour, or your case - all behaviour and no...
  2. wadewells

    SQL Optimization : Rule Based Vs Choose Based

    &nbsp;&nbsp;First, read the Oracle Server Tuning Manual for your release.<br>&nbsp;&nbsp;Rule-based will use indexes if available, not if better performance.&nbsp;&nbsp;If your tables are small, indexes can a waste (in the extreme case, if your table is only 1 block, why read a second block just...
  3. wadewells

    Use of Materialised Views in Oracle 8i

    &nbsp;&nbsp;Materialized Views are synonymous with Snapshots. They are physical tables that hold data from other tables, and Oracle offers internal triggers to (1) track changes to the base table in snapshot logs, and (2) refresh the materialized view periodically from the...
  4. wadewells

    Performance Issue on small table

    In my experience, the Oracle optimizer does poorly with joins of more than 4 tables.<br>(1) Learn what all the lines in the Explain Plan mean. Use the Oracle8 Server Tuning Guide.<br>(2) Especially look for 'CARTESIAN' - a red flag. It can be caused by:<br>&nbsp;&nbsp;(2a) a poor ordering of...
  5. wadewells

    Create Frame in Java without Title Bar or Top Border

    &nbsp;&nbsp;In Swing, use JWindow class instead of JFrame&nbsp;&nbsp;- they do not have title bars or borders.<br>&nbsp;&nbsp;In AWT, try Window class instead of Frame.<br>&nbsp;&nbsp;But, do you really want a browser window without a title bar, and an applet running inside it? That is a...
  6. wadewells

    Setting cell text alignment in JTable

    &nbsp;&nbsp;Each cell is displayed by a 'renderer' object when read-only, and an 'editor' object while being edited. The default cell renderer for text is a JLabel, and the default cell editor is a JTextArea.<br>&nbsp;&nbsp;Try overriding the JTable's createDefaultRenderers() method to create...
  7. wadewells

    Printing JFC windows to printer

    If you are trying to print with AWT, find a 1.1 book with a chapter on printing.<br> But, if you can upgrade to JFrame, life will be easier for you.<br> Here's a test case that extends JEditorPane to be a printable editor.<br> The first file just tests the second. See the print() method...
  8. wadewells

    iDevelop99

    What was your opinion on iDevelop99? Should others attend future conferences in other cities?
  9. wadewells

    environment variables

    You can convert platform-specific environment variables into JVM environment properties on the command line.<br> It would be something like (on Windows):<br> <br> java -Dmy.jvm.var=%MY_WINDOW_VAR% myClass<br> <br> For this execution the System properties will include an entry for the key...

Part and Inventory Search

Back
Top