Major Jtable help needed

Hello all,
i am trying to extend the JTable class to create a table in which i can enter numbers. I would also like to channge the default renderer so i can change the colours of the cell lines. Aslo, i would like to add colum headers and row headers. I want the colum and row headers to be namesd after the dimensions passed to the new Table class. This may seem trivial to some, but i cant seem to get it going. I know i should have to extend the abstract table model, but i dont know what to put into it.
The only bit of code i have got going so far which definatly works in the class definition. I cant seem to find any good documentation about how to do the abogve...the sun tutorial only confuses me..could anyone please please help.
Thanks in advance, regards, Rupesh
public class SpreadTable extends JTable {
     private CellRenderer _renderer;
     public SpreadTable(int x, int y){
          super(x,y);
          setCellSelectionEnabled(true);
  public boolean isCellEditable(int row, int column) {return true;}

Hi - thanks for your post. I would be eager to see some of your furure results. I have been trying to get my Table to have editable cells, and trying to get the cells to be of a different size, and colour, and have finally come up with some code, but it doesnt seem to work. This error i get is
.\SpreadTable.java:58: cannot resolve symbol
symbol : method getTableCellRendererComponent (SpreadTable.CellRenderer,java.l
ng.Object,boolean,boolean,int,int)
location: class javax.swing.JLabel
super.getTableCellRendererComponent(this, value, isSelected, ha
Focus, row, column);
^
1 error
Here is the code.
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.event.*;
import javax.swing.table.*;
import java.awt.*;
import java.awt.event.*;
import java.util.*;
public class SpreadTable extends JTable {
     private CellRenderer renderer;
     public SpreadTable(int x, int y){
          super(x,y);
          setCellSelectionEnabled(true);
          renderer = new CellRenderer();
          try {
         setDefaultRenderer(Class.forName("java.lang.Object" ), renderer );
     } catch (ClassNotFoundException ex) {
         System.out.println("SpreadSheet() Can't modify renderer");
     TableColumn       aColumn   = getColumnModel().getColumn(0);
     TableCellRenderer aRenderer = getTableHeader().getDefaultRenderer();
    Component aComponent = aRenderer.getTableCellRendererComponent(this,
                                          aColumn.getHeaderValue(),
                                          false, false, -1, 0);
  public boolean isCellEditable(int row, int column) {return true;}
   public class CellRenderer extends JLabel implements TableCellRenderer  {
      private LineBorder  selectBorder;
      private EmptyBorder emptyBorder;
      private Dimension   dim;
      public CellRenderer() {
     super();
     emptyBorder  = new EmptyBorder(1, 2, 1, 2);
     selectBorder = new LineBorder(Color.red);
     setOpaque(true);
     setHorizontalAlignment(SwingConstants.CENTER);
     dim = new Dimension();
     dim.height = 22;
     dim.width  = 100;
     setSize(dim);
      public Component getTableCellRendererComponent (JTable table, Object value,
                                    boolean isSelected,
                                    boolean hasFocus,
                                    int row, int column) {
          super.getTableCellRendererComponent(this, value, isSelected, hasFocus, row, column);
          if (isSelected) {
       setBorder(selectBorder);
     } else {
       setBorder(emptyBorder);
     return this;
}

Similar Messages

  • JTable help needed!!!

    I want to display JTextArea
    which should be scrollable. each cell of my JTable contains a JTextArea and I want to have scrollbars appear only for those JTextArea where the text doesn't fit in the JTextArea. I have tried using Cell Renderer JTextArea in ScrollPane, but still the scroll bars doesn't appear. I have put my JTable in a scrollPane. But I also need scrollBars to appear for my individual JTextAreas in the cells. Any help is appreciated. Here is a small code and hope it helps:
    public class MultiLineCellRenderer extends JTextArea implements TableCellRenderer{
    public MultiLineCellRenderer() {
    setLineWrap(true);
    setWrapStyleWord(true);
    setOpaque(true);
    setAutoscrolls(true);
    JScrollPane treeEditorPane = new JScrollPane( this,JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
    can any one help me in getting the scroll bars on my JTextArea too. In my main program I am doing this
    JScrollPane scroll = new JScrollPane( table );
    it puts scrollbars arround the whole table but I also need scrollbars to come arround each JTextArea too.
    Thanks for any help

    Try something like this:
    <pre>
    package com.hbo.common.ui;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.border.*;
    import java.awt.*;
    * @version 1.0 11/09/98
    public class MultiLineCellRenderer extends JTextArea implements TableCellRenderer {
    public MultiLineCellRenderer() {
    setLineWrap(true);
    setWrapStyleWord(true);
    setOpaque(true);
    private int cellSpace = 40;
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected, boolean hasFocus, int row, int column) {
    if (isSelected) {
    setForeground(table.getSelectionForeground());
    setBackground(table.getSelectionBackground());
    } else {
    setForeground(table.getForeground());
    setBackground(table.getBackground());
    setFont(table.getFont());
    if (hasFocus) {
    setBorder( UIManager.getBorder("Table.focusCellHighlightBorder") );
    if (table.isCellEditable(row, column)) {
    setForeground( UIManager.getColor("Table.focusCellForeground") );
    setBackground( UIManager.getColor("Table.focusCellBackground") );
    } else {
    setBorder(new EmptyBorder(1, 2, 1, 2));
    setText((value == null) ? "" : value.toString());
    setToolTipText((value == null) ? "" : stringToHtml(value.toString()));
    return this;
    public String stringToHtml(String aString) {
              String aStringToReturn = "<HTML><BODY>";
              while (findNextSpace(aString, cellSpace) > -1) {
                   int i = findNextSpace(aString, cellSpace);
                   aStringToReturn += aString.substring(0, i) + "<P>";
                   aString = aString.substring(i);
              aStringToReturn += aString;
              aStringToReturn += "</BODY></HTML>";
              return aStringToReturn;
         public static int findNextSpace(String s, int i) {
    int index = -1;
    if (s == null || s.length() < i ) {
    return index;
    index = i;
    while (s.length() > (index + 1) ) {
    String st = s.substring(index, index+1);
    if (st.equals(" ") || st.equals("\n")) {
         break;
    index++;
    return index;
    </pre>

  • Adding Image in JTable - help needed(Urgent).

    Hai Friends,
    i want to add two icon in the cells of JTable... i dont know where am going wrong... the icon is not getting displayed in the cell but instead if i double click the cell the name of the icon is displayed in editable mode... any suggestion...
    this is my code... i got this from the forum only... but tis not working....
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TableIcon extends JFrame
         public TableIcon()
              String[] columnNames = {"Picture", "Description"};
              Object[][] data =
                   {new ImageIcon("juggler.ico"), "Copy"},
                   {new ImageIcon("favicon.gif"), "Add"},
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              JTable table = new JTable( model )
                   //  Returning the Class of each column will allow different
                   //  renderers to be used based on Class
                   public Class getColumnClass(int column)
          System.out.println("getValueAt(0, column)"+getValueAt(0, 0));
                        return getValueAt(0, 0).getClass();
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );
         public static void main(String[] args)
              TableIcon frame = new TableIcon();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible(true);
    }Urgent... pls help...
    Regards,
    Ciya.

    Hai Chris,
    Thanks for ur reply,
    Now Its throwing null pointer exception in the URL....
    Can u pls look into d code and tell me pls...
    import java.awt.Component;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.net.URL;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.AbstractTableModel;
    import javax.swing.table.TableCellRenderer;
    public class MyIcon extends JPanel
      private JScrollPane jScrollPane1 = new JScrollPane();
      private JTable jTable1;
      private GridBagLayout gridBagLayout1 = new GridBagLayout();
      public MyIcon()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      private void jbInit() throws Exception
        this.setLayout(gridBagLayout1);
        jTable1 = new JTable(new AbstractTableModel()
         URL lURL = getClass().getResource("file:///D:/Eg/TWEETY.GIF");
          URL lURL2 = getClass().getResource("file:///D:/Eg/TWEETY.GIF");
        Object[][] data =
            {new ImageIcon(lURL), "Copy"},
            {new ImageIcon(lURL), "Add"},
          public int getRowCount()
            return 2;
         public int getColumnCount()
           return 2;
         public Object getValueAt(int row, int column)
           return data[row][column];
        jTable1.getColumnModel().getColumn(0).setCellRenderer(new Renderer());
        jScrollPane1.getViewport().add(jTable1, null);
        this.add(jScrollPane1, new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(60, 20, 125, 25), -97, -287));
      public static void main(String a[])
        MyIcon c = new MyIcon();
        JFrame f = new JFrame();
        f.getContentPane().add(c);
        f.setSize(400,400);
        f.setVisible(true);
      class Renderer extends JLabel implements TableCellRenderer {
    public Component getTableCellRendererComponent(JTable table, Object value,
    boolean isSelected,
    boolean hasFocus,
    int row, int column) {
    setIcon((ImageIcon) value);
    return this;
    }Ciya...

  • Column width in JTables.Help needed!!!!

    Hi
    I am trying to print out a JTable and have had a few problems along the way but have managed to solve them all so far apart from this one. When the JTable is shown on screen it doesn't make the columns wide enough . I ahev managed to find some code from these forums but it doesnt resize correctly if the Column headings contain more text than any of the data (If you know what i mean). Below is the code i am using
    public void sizeAllColumnsToFitData (JTable table)  {
        for (int col = 0; col < table.getColumnCount (); col++)  {
          TableColumn curColumn = table.getColumn (table.getColumnName (col));
          if (curColumn == null)
            continue; // not a valid column skip
    //  Translate to the model
          int modelColumn = curColumn.getModelIndex ();
    //  Loop for all rows in this column looking for the widest piece of data
          int maxColumnWidth = 0;
          for (int row = 0; row < table.getRowCount(); row++)  {
            TableCellRenderer curCellRenderer = table.getCellRenderer (row, modelColumn);
            Object value = table.getValueAt (row, modelColumn);
            Component curRenderComponent = curCellRenderer.getTableCellRendererComponent(table, value, true, true, row, modelColumn);
            Dimension cellDimension = curRenderComponent.getPreferredSize ();
            if (cellDimension.width > maxColumnWidth)
              maxColumnWidth = cellDimension.width;
    //  Set the column width to fit the maximum
          Dimension cellSpacing = table.getIntercellSpacing ();
          curColumn.setPreferredWidth (maxColumnWidth + (cellSpacing != null ? cellSpacing.width : 1));
      }I pass my table into here and it works fine apart from in doesnt take into consideration the size of the headings. Please Help ME!!!!

    java.lang.NullPointerException
         at database_testing.SLAMS.sizeAllColumnsToFitData(SLAMS.java:473)
         at database_testing.SLAMS.getInfo(SLAMS.java:364)
         at database_testing.SLAMS.getInfo_actionPerformed(SLAMS.java:434)
         at database_testing.SLAMS_getInfo_actionAdapter.actionPerformed(SLAMS.java:527)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
         at java.awt.Component.processMouseEvent(Component.java:5134)
         at java.awt.Component.processEvent(Component.java:4931)
         at java.awt.Container.processEvent(Container.java:1566)
         at java.awt.Component.dispatchEventImpl(Component.java:3639)
         at java.awt.Container.dispatchEventImpl(Container.java:1623)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
         at java.awt.Container.dispatchEventImpl(Container.java:1609)
         at java.awt.Window.dispatchEventImpl(Window.java:1590)
         at java.awt.Component.dispatchEvent(Component.java:3480)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)Also i think it may have something to do with my headerRenderer being null cus if i replace the line TableCellRenderer headerRenderer = curColumn.getHeaderRenderer(); with TableCellRenderer headerRenderer = table.getTableHeader().getDefaultRenderer(); then it doesnt come up with an error but only increase the size of the coluns (where neccessary by 2 characters)

  • Major issue, help needed

    Hi there,
    Okay, I've got a problem, well a few of them actually, and I really needed to get some advice from others. So, I'm doing an HNC in Interactive Media at the moment in college. My class isn't exactly the best place to study, as its quite loud, but yet it's the only room (available on certain days at certain times) that I can use to get my work done because it has all the Adobe software I need.
    My problem is that the version of the software is only at CS4, which the exception of Photoshop CS6 Extended added in their too. Now, I have no clue as to why the software hasn't been updated and it's not causing me a bit of worry. I desperately want to my work outside of class, to work away from the noise where there is no distraction and so on. So, I had taken out a Student Loan to buy myself a MacBook Pro and I was dead-set on buying myself CS6. However, I quickly realized that CS6 wouldn't be backwards compatable with older versions, i.e. CS4, right?
    So I asked my lecturer, she advised me to buy the Adobe CS4 software package, which I was fine with. I had spent the last few days trying to find a Mac version, with the student discount (Like I could afford the full retail as a student), but I couldn't find one trace of it. I was always redirected to some fishy website that was able to crack it for me, which I didn't want - obviously.
    My problem is that I've seen on the community discussion that Adobe doesn't sell CS4 anymore - already I'm panicking - because I don't know what to do. I can only see the option of: buying CS6 and basically not being able to use it because my lecturers wouldn't be able to open any of those files.
    Please, I really need some help here. If you have any advice or knowledge on where I could possibly buy CS4 (if that is even possible) or maybe a method of saving CS6 files as CS4 files?
    Thanks,
    Andrew

    And what program are we actually talking about? PS files are always compatible when saved with the "Maximum Compatibility" option, Illustrator allows back-saving to older formats and InDesign can save to CS4-compatible IDML (an exchange format). For other apps it's not really relevant - HTML is HTML and which version of Dreamweaver you use to edit it doesn't matter. Conversely, pretty much all universally accepted media formats for audio, video and images can be opened in most versions as can PDFs. That leaves only the video applications and Flash, but I can't imagine your teacher looking at your Premiere Pro project file when all you have to deliver is an edited movie nor do I think it would be particularly relevant how you created a Flash or After Effects file. All that aside, things are as they are - unless you can find someone trustworthy willing to part with his used CS4, there is no legal way to get it. It's a moot point, though, 'cos no matter what, it won't work properly on your shiny new Mac and may not even install, so you are in a very dark place, either way....
    Mylenium

  • Premiere Elements 8.0 Trial Version - Major Headache HELP NEEDED!!!!

    I successfully downloaded the trial version of this product with a view to purchasing at a later stage.
    The installation was going well until right at the last minute, when the installation decided to uninstall itself.
    Has anybody else had this problem?
    I am running Windows Vista Home Edition and have recently installed the latest SP2......just wondering whether this has caused the problem

    mike4smq
    What browser are you using for the Premiere Elements 8 download from Adobe? Mozilla Firefox, Internet Explorer (what version?), other.
    Mozilla Firefox will not give me a successful download of this software, whereas Internet Explorer (version 6) will. You could try the download from another browser.
    Even when I was using Internet Explorer, I had a rough time downloading Photoshop Elements 8. The download kept coming with the name Premiere Elements, instead of Photoshop Elements. I believe that problem was on Adobe's end, since I kept retrying the download every so often, and the problems cleared in the early hours of the morning.
    Since I have successfully downloaded Premiere Elements 8, I have had a few odd things going on with my computer, Windows XP Professional SP3. Premiere Elements 8 still does not import .flv. There is a plugin for accomplishing this that works for Premiere Elements 3 and 4, but not 7. I have downloaded and used it and subsequently uninstalled it, no problem. So now I decide to download it to try it on Premiere Elements 8. It will obsolutely not install. It keeps telling me that I do not have any version of Premiere or Premiere Elements installed on my computer. I do have, Premiere Elements 2, 4, 7, as well as 8. Of course, not all opened at the same time. So now I have to figure out why the plugin could be installed with 2, 4, and 7, but not 2, 4, 7, and 8....need to pin down cause and effect.
    ATR
    Windows XP SP3

  • Major Ipod help needed

    All right, one day, a few months ago, my sister lost her nano and found it the next day in a puddle beside her car. When she tried her iPod, it was acting a bit erratic, and barely worked. You could only listen to it on an iHome, but the wheel didn't work, sometimes the screen would lock up, it wouldn't accept a charge from the iHome, her laptop, nor our computer, it wouldn't show up on iTunes, and sometimes it would just flat out not work. Only last night was when she decided to throw it away. Being the pack rat and electronics fiddler I am, I took it, hooked it up, and it worked pretty well on my iHome, the wheel worked, songs played well, but it still wouldn't charge, and the date and times were reset. When I removed the iPod, it would go a bit crazy before it shut itself off, and when I plugged it into a computer the iPod screen says "Please wait...very low battery" but it will stay like that until you unplug it. and now to finally get to what I'm asking, I've tried any logical troubleshooting, but nothing worked, is my only other option to send it into Apple? and if so, how much do you think it would cost to have them repair it?
    Message was edited by: [M]ike

    Seems the iPod Nano does not get charged - battery problem?
    If none of these steps address the issue, your iPod may need to be repaired.
    Consider setting up a mail-in repair for your iPod http://depot.info.apple.com/ipod/
    Or visit your local Apple Retail Store http://www.apple.com/retail/
    In case your iPod is no longer covered by the warranty and you want to find a second repairing company, you can try iPodResQ or ifixit at your own risk
    http://www.ipodresq.com/index.php
    http://www.ifixit.com/

  • Major jogl help needed

    Hey guys, im a jogl (and opengl in general) nub. i have no idea wtf im doing. I want to learn jogl because i think that the current java2d isnt quite good enough for gaming and stuff. I just want to know how to make a basic line in jogl. I followed a tut, and i cud draw and stuff with an old version of jogl, but after realizing that it was outdated i got the new version (jsr 231 was it?) After changing everything that was needed (all the weird stuff, like new ways to make GlCanvas and such), it finally compiled, but no line was drawn. Can someone tell me how to draw a line? (like what shud i put in the init method? i think that has something to do with it). or does anyone know of a good jogl tutorial (maybe pertaining to gaming?)

    And what program are we actually talking about? PS files are always compatible when saved with the "Maximum Compatibility" option, Illustrator allows back-saving to older formats and InDesign can save to CS4-compatible IDML (an exchange format). For other apps it's not really relevant - HTML is HTML and which version of Dreamweaver you use to edit it doesn't matter. Conversely, pretty much all universally accepted media formats for audio, video and images can be opened in most versions as can PDFs. That leaves only the video applications and Flash, but I can't imagine your teacher looking at your Premiere Pro project file when all you have to deliver is an edited movie nor do I think it would be particularly relevant how you created a Flash or After Effects file. All that aside, things are as they are - unless you can find someone trustworthy willing to part with his used CS4, there is no legal way to get it. It's a moot point, though, 'cos no matter what, it won't work properly on your shiny new Mac and may not even install, so you are in a very dark place, either way....
    Mylenium

  • Major sync help needed

    So I had to do a clean operating system install on my computer. I did backup my itunes music folder on a flash drive, but that did not work I guess. So I installed itunes again and want to know how to get everything from my iphone back to my computer??? I need my contacts, music and everything. Please help

    If you copied the iTunes folder, where did you place the copy of the iTunes folder after you did a clean install of the operating system?
    With iTunes quit, the iTunes folder should be placed in your Music folder, which I believe is located in the Documents folder on a PC.
    You also need to re-authorize your computer with your iTunes account with iTunes
    Photos on your iPhone that were transferred from your computer should have been included with your computer's backup, and can be restored from the backup.
    Contacts are designed to be synced with a supported address book application on your computer. If you aren't syncing contacts with a supported application and the same for calendar events - these options are not selected under the Info tab for your iPhone sync preferences, contacts and calendar events will not be touched on your iPhone, and the same for photos in your iPhone's camera roll. Photos in your iPhone's camera roll are not touched during the iTunes sync process except for being included with your iPhone's backup.

  • Messaging:System Error(-10)HELP NEEDED!NEED BEFORE...

    Messaging: System Error(-10) [Nokia N70] URGENT HELP NEEDED! - NEEDE BEFORE WED 21ST MAY '08 - BUT HELP OTHERWISE APPRECIATED!______________________________
    Hey,
    I need this help before Wednesday 21st May 2008 as I am going abroad and urgently need my phone. I have had my phone for just over a year now and I have never had any problems with it up until now.... Think you can help...?
    This is the scenario. My messages are saved under my nokia N70's MMC memory card and when I get a message there are a number of problems.
    1) My phone does not vibrate or alert me when a message comes in. I have checked my profile settings and they are all up to volume.
    2) When the messages come through they are not displayed on the main window of the phone as "1 New Message Received" but in the top corner with a little envelope icon. I know the icon normally comes up but the "1 New messge received part doesn't come up.
    3)When "1 New Message Reveived" is not displayed on the main window I go into the "INBOX". When I click inbox on "Messaging" the phone displays an error saying: Messaging: System Error(-10) with a red exclamaion mark. The I can not write any messages, view sent, or drafts.
    I have tried to change me message settings by going on "Messaging"> Left Click "Settings" > "Other" > "Memory in use" and selected "Phone Memory". This works but then my I looses all my previous messages.
    4)My phone is also dead slow. I click menu and it takes at least five minutes to load menu.
    IF YOU COULD HELP ME ON ANY OF THESE ISSUES I WOULD BE MAJORLY GREATFUL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Thanks Soo Much,
    Robert__________

    U said in another post u've tried all my solutions = =?
    On that post its for Nokia N95 u kno? Although the problem is similar, but different phone model can lead to quite different solutions.
    Are u sure u tried all my solutions?
    have u tried this?:
    /discussions/board/message?board.id=messaging&message.id=7926#M7926
    Also format ur memory card, do not use content copier! dont install too much softwares, as ur phone model is old and doesnt have much space.
    This is from NOkia, sometimes does work depending on ur situation:
    Memory low
    Q: What can I do if my device memory is low?
    A: You can delete the following items regularly to avoid
    memory getting low:
    • Messages from Inbox, Drafts, and Sent folders in Messaging
    • Retrieved e-mail messages from the device memory
    • Saved browser pages
    • Images and photos in Gallery
    To delete contact information, calendar notes, call timers, call cost timers, game scores, or any other data, go to the respective application to remove the data. If you are deleting multiple items and any of the following notes are shown: Not enough memory to perform operation. Delete some data first. or Memory low. Delete some data., try deleting items one by one (starting from the smallest item).
    use device status http://handheld.softpedia.com/get/Desktop-and-Shell/Windows/Nokia-Device-Status-57673.shtml
    to maybe let me see what u got on ur phone (by saving/exporting report).
    Make sure u have the latest firmware! Updating firmware is like a hard reset but also upgrade.
    Message Edited by goldnebula on 20-May-2008 02:05 PM

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Help needed for writing query

    help needed for writing query
    i have the following tables(with data) as mentioned below
    FK*-foregin key (SUBJECTS)
    FK**-foregin key (COMBINATION)
    1)SUBJECTS(table name)     
    SUB_ID(NUMBER) SUB_CODE(VARCHAR2) SUB_NAME (VARCHAR2)
    2           02           Computer Science
    3           03           Physics
    4           04           Chemistry
    5           05           Mathematics
    7           07           Commerce
    8           08           Computer Applications
    9           09           Biology
    2)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2) SUB_ID1(NUMBER(FK*)) SUB_ID2(NUMBER(FK*)) SUB_ID3(NUMBER(FK*)) SUBJ_ID4(NUMBER(FK*))
    383           S1      9           4           2           3
    384           S2      4           2           5           3
    ---------I actually designed the ABOVE table also like this
    3) a)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2)
    383           S1
    384           S2
    b)COMBINATION_DET
    COMBDET_ID(NUMBER) COMB_ID(FK**) SUB_ID(FK*)
    1               383          9
    2               383          4
    3               383          2
    4               383          3
    5               384          4
    6               384          2          
    7               384          5
    8               384          3
    Business rule: a combination consists of a maximum of 4 subjects (must contain)
    and the user is less relevant to a COMB_NAME(name of combinations) but user need
    the subjects contained in combinations
    i need the following output
    COMB_ID COMB_NAME SUBJECT1 SUBJECT2      SUBJECT3      SUBJECT4
    383     S1     Biology Chemistry      Computer Science Physics
    384     S2     Chemistry Computer Science Mathematics Physics
    or even this is enough(what i actually needed)
    COMB_ID     subjects
    383           Biology,Chemistry,Computer Science,Physics
    384           Chemistry,Computer Science,Mathematics,Physics
    you can use any of the COMBINATION table(either (2) or (3))
    and i want to know
    1)which design is good in this case
    (i think SUB_ID1,SUB_ID2,SUB_ID3,SUB_ID4 is not a
    good method to link with same table but if 4 subjects only(and must) comes
    detail table is not neccessary )
    now i am achieving the result by program-coding in C# after getting the rows from oracle
    i am using oracle 9i (also ODP.NET)
    i want to know how can i get the result in the stored procedure itsef.
    2)how it could be designed in any other way.
    any help/suggestion is welcome
    thanks for your time --Pradeesh

    Well I forgot the table-alias, here now with:
    SELECT C.COMB_ID
    , C.COMB_NAME
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID1) AS SUBJECT_NAME1
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID2) AS SUBJECT_NAME2
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID3) AS SUBJECT_NAME3
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID4) AS SUBJECT_NAME4
    FROM COMBINATION C;
    As you need exactly 4 subjects, the columns-solution is just fine I would say.

  • Help needed I have a canon 40D. I am thinking of buying a canon 6D.But not sure that my len

    Hi all help needed I have a canon 40D. I am thinking of buying a canon 6D.
    But not sure that my lenses will work.
    I have a 170mm/ 500mm APO Sigma.
    A 10/20 ex  Sigma   HSM  IF.
    And a 180 APO Sigma Macro or do I have to scrap them and buy others.
    ALL Help will be greatly received. Yours  BRODIE

    In short, I love it. I was going to buy the 5DMark III. After playing with it for a while at my local Fry's store where they put 5DMII, 5DMIII and 6D next to each other, using the same 24-105L lens, I decided to get the 6D and pocket the different for lens later.
    I'm upgrading from the 30D. So I think you'll love it. It's a great camera. I have used 5DMII extensively before (borrowing from a close friend).
    Funny thing is at first I don't really care about the GPS and Wifi much. I thought they're just marketing-gimmick. But once you have it, it is actually really fun and helpful. For example, I can place the 6D on a long "monopod", then use the app on the phone to control the camera to get some unique perspective on some scenes. It's fun and great. GPS is also nice for travel guy like me.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

  • Help needed! Raid degraded again!

    Hi!
    Help needed! I hava made bootable RAID with two S-ATAII 250Gb HDD and its not working! Every now and then at bootup I get a message RAID -> DEGRADED... Must be seventh time! Rebuild takes its own time!
    What am I doing wrong!
    T: Ekku
    K8N Neo4 Ultra
    AMD 64 4200+
    2 Gb RAM
    2 x 250 Gb HDD (Maxtor)
    nVidia RAID (in mb)
    P.S. I wery SORRY with my poor language!

    I'm going to blame the nVRAID because I've seen issues with it in the past. If your motherboard has another non-nVidia RAID solution, use that instead. Using the nVidia SATA ports as BASE or JBOD is fine and dandy but RAIDing always had issues. It's not even a driver issue I think it's just instability. Latest drivers and even boxed drivers never helped. Granted, some will report success with their rig. But on a professional level I've seen nForce issues on different motherboards and different hard drives that had RAID disaster stories.
    Good luck and if you don't have another RAID solution, my suggestion would be to buy a dedicated RAID controller card.
    LPB

  • HELP NEEDED WITH ADDAPTER-DVI TO VGA.

    PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
    ......THIS ENSURES NO SMOKE!!!                                                                                           
    THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
    ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!

    Quote from: BOBHIGH on 17-December-05, 09:21:31
    Get over it mate !
    I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
    And why bother to reply...some people have nothing better to do.
    Yes there chep and easy to come by...Ive already got a new one.
    All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
    NO NEED TO A WANKA !!
    I feel a bann comming up.
    Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
    Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
    You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
    Google = your friend.
    Quote from: BOBHIGH on 17-December-05, 09:21:31
    it was a simple question and required a simple answer
    Simple for who ? you (buying a new one) ? me ? we ?   .really...........
    Quote from: Dynamike on 16-December-05, 04:11:48
    1: There are allot of diffrent types of those adapters.
    If any of the mods have a problem about my reply.. please pm me.

Maybe you are looking for

  • Purchase price variance in subcontracting order

    Our customer has the following scenario:      Purchase account is posted with the value of stock subsequently purchase price variance is a legal account      Material ledger is active      Inventories are managed with standard price for each mater

  • ENHANCEMENT syntax errors locking out "change enhancement"

    I am changeing an ENHANCEMENT and did a syntax check. the syntax check failed. Editting is now locked out and when I place the cursor on the Enhancement statement and go to Edit > Enhancement Operations > Change Enhancement. the "Position the cursor

  • 20"iMac Calibrating/Profiling

    I am using my 20" for a startup photography business and recently purchased a Spyder2 monitor calibrator. While initially happy with the profiling results, I recently downloaded some higher end monitor profiling software (ColorEyes)that still uses th

  • Time capsule or external hard disk?

    I am new to Mac. I read so much about the problem of using a Time Capsule. Is it safer or better to use a normal external hard disk instead?

  • Cannot change APN for new SIM card

    Dear all, I had a Telekom contract in Germany. Now I changed to Congstar and inserted the SIM card. But there is no netweork access. I researched and I need to change the APN settings. However, these are not accessable in the settings menu. It is som