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 strongm 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. NeedMiscHelp

    Canvas -> Swing, paintComponent() not working

    I found the solution to my problem- the Canvas used to be in a JPanel itself, now I was adding a JPanel to a JPanel to a JScrollPane. So now I just directly add the first JPanel to JScrollPane. Alternatively, I think one could use setOpaque(false) on the container JPanel if more stuff needed...
  2. NeedMiscHelp

    Canvas -> Swing, paintComponent() not working

    Everyone says to use JComponent or JPanel instead of Canvas. I override paintComponent() with the code that was formerly in paint(), but nothing shows up. I just get a gray panel. I put in a System.out.println() statement in the paintComponent() method and make sure it only prints out at the...
  3. NeedMiscHelp

    C Program doesn't output anything on UNIX??

    Ahh found the error...when I type "test" at the command-line, it's trying to run "/usr/bin" test. FIX: ./test
  4. NeedMiscHelp

    C Program doesn't output anything on UNIX??

    Sure, I know it's not wrong though, since I compiled with no errors, and I compiled and run on Windows: #include<stdio.h> int main() { printf(&quot;Hello&quot;); return 0; } also tried C++, same result- nothing: #include<iostream.h> int main() { cout<<&quot;Hello&quot...
  5. NeedMiscHelp

    C Program doesn't output anything on UNIX??

    I've tried a test program with a printf(&quot;Hello&quot;); statement in main and it doesn't output anything?? I've tried it on FreeBSD 4.6.2 and 4.7 and Solaris (I think 4). Any ideas??
  6. NeedMiscHelp

    Excel- legend shows all column values

    My first column is labeled &quot;Description&quot;, these items will dilineate the x-axis- so it has descriptions. The second-fourth column have column headers labeled with dates in mm/dd/yy format. Basically, my table is an inventory with the item descriptions going down the first column and...
  7. NeedMiscHelp

    Excel- legend shows all column values

    Why is it that the legends for my graphs sometimes show ALL the values in a column?? For example, if my column names are &quot;9/3/02&quot;, &quot;10/3/02&quot;, and &quot;11/10/02&quot; the legend SHOULD and sometimes shows only these in the legend. However, sometimes the keys in the legend...

Part and Inventory Search

Back
Top