Retrieving JTable column number when clicked
Hello, I'm new in this forum but not so new to java.....but I'm really worried about an issue with an application made using Swing.
Well , my problem is with JTables. It's about selecting a table cell in order to get the column index when selected. Ok I'm able to get the column index when the cells are simple cells, but the problem appears when the cell is a JComboBox....It's imposible to retrieve the column index. I was trying and trying but finally I couldn't see what the solution is......and I must get that problematic index....
Please, I really need and advice.
Thanks in advance for your help
Best Regards
Mariojulio Zaldivar
Hello, I created a short example of my java class:
* NewClass.java
* Created on 26 de octubre de 2007, 0:03
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
package pruebas;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import javax.swing.*;
public class TableDemoApplet extends JApplet {
JTable table;
public TableDemoApplet() {
createGUI(getContentPane());
public void createGUI(Container contentPane) {
Object[][] rowData = new String[][] { {"98-43", "AraAra! SL"},
{"81-31", "Aragones Transports SA"},
{"12-72", "Rocca SL"},
{"99-10", "Rodriguez e Hijos SA"},
{"00-65", "Rimbau Motors SL"} };
table = new JTable(rowData, new String[] {"Part No", "Provider"});
JComboBox companyComboBox = new JComboBox(new Object[] {"AraAra! SL", "Aragones Transports SA", "Rocca SL", "Rodriguez e Hijos SA", "Rimbau Motors SL"});
companyComboBox.setEditable(true);
//new S15WorkingBackspace(companyComboBox);
// setup the ComboBoxCellEditor, DefaultCellEditor won't work!
table.getColumnModel().getColumn(1).setCellEditor(new ComboBoxCellEditor(companyComboBox));
table.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
table.setPreferredScrollableViewportSize(new Dimension(400, 100));
addListener();
JScrollPane scrollPane = new JScrollPane(table);
contentPane.setLayout(new java.awt.FlowLayout());
contentPane.add(scrollPane);
contentPane.add(new JTextField("HALLO!"));
public void addListener(){
/*table.addMouseListener(new MouseAdapter(){
public void mouseClicked(MouseEvent e){
int column = table.getSelectedColumn();
table.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
// get most recently selected column index
int column = table.getSelectedColumn();
System.err.println("numero de columna: " + column);
public static void main(String[] args) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(3);
TableDemoApplet demo = new TableDemoApplet();
demo.createGUI(frame.getContentPane());
frame.pack(); frame.setVisible(true);
I'm showing there the wrong behavior of the JTable, I hope this help you to help me :)
Thanks a lot for your time!!
Greetings
Mariojulio Zaldivar
Similar Messages
-
How to check credit card number when clicking Update order
Hi Experts,
I need to check credit card number when clicking Update order.
I put if(document.forms['order_positions'].elements['nolog_cardno'].value == "") in submit_refresh function, but get "document.forms.order_positions.elements.nolog_cardno.value is null or not an object" error. Any advises?
Thanks, JinTry like this
if ( document.forms['order_positions'].elements['nolog_cardno[0]'].value == "" ) -
Resize JTable columns by double-clicking header
I want to implement column resizing in a JTable so that when the user double clicks on the column header with the mouse in the "resize zone" the column automatically adjusts to the width of the longest text in the column. this is how many applications behave (e.g. windows explorer) but I don't think I've ever seen a swing app that does this. I've looked in the API docs for JTable and JTableHeader and I can't see any way of finding out if the mouse is over the edge of a column header. does anyone know of a way to do this?
Is this laf independant?import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;
public class Test extends JFrame {
public Test() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
Container content = getContentPane();
String[] head = {"One","Two","Three"};
String[][] data = {{"R1-C1","R1-C2","R1-C3"},
{"R2-C1","R2-C2","R2-C3"},
{"R3-C1","R3-C2","R3-C3"}};
JTable jt = new JTable(data, head);
JScrollPane jsp = new JScrollPane(jt);
content.add(jsp, BorderLayout.CENTER);
JTableHeader jth = jt.getTableHeader();
jth.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent me) {
JTableHeader jth = (JTableHeader)me.getSource();
int col = jth.columnAtPoint(me.getPoint());
Rectangle r = jth.getHeaderRect(col);
if (jth.getCursor().equals(Cursor.getPredefinedCursor(Cursor.E_RESIZE_CURSOR))) {
System.out.println("Cursor, col="+col);
setSize(300, 300);
setVisible(true);
public static void main(String args[]) { new Test(); }
} -
How to get the page number when click the(Next page) Icon on Tableview
Hi all,
I had implemented a tableview in one of the Views that I had implemented for a BSP application. I am using MVC framework.
Let us assume when we execute the BSP and a table view got 11 pages.
How I can keep track of the page number when we click the (Next page, Previous page, Bottom , Top) Icons on my tableview . Is there any attribute willstore that corresponding page number of the tableview when we click the corresponding Icon's??
I had checked both CL_HTMLB_TABLEVIEW and CL_HTMLB_EVENT_TABLEVIEW Classes and i don't find any attribute.
Any help will be appreciated.
Thanks in advance.
Thanks,
GreetsonHi Greetson,
I was thinking to write a weblog about that.
But now I would like to have your opinion:
I coded a generic method in my main controller (but you could also insert it in the application class) that save the firstvisible row in the class me->firstvisiblerowlist (that is a table)
DATA: l_firstvisiblerowlist TYPE zmmsp_tableview_1st_visi_row.
DATA: ff TYPE ihttpnvp,
ffs TYPE tihttpnvp.
me->request->get_form_fields( CHANGING fields = ffs ).
LOOP AT ffs INTO ff.
IF ff-name CP 'f*visiblefirstrow'.
READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerowlist WITH KEY name = ff-name.
CASE sy-subrc.
WHEN 0.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
MODIFY me->firstvisiblerowlist FROM l_firstvisiblerowlist INDEX sy-tabix.
WHEN 4.
IF sy-tabix = 0.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
ELSE.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
INSERT l_firstvisiblerowlist INTO me->firstvisiblerowlist INDEX sy-tabix.
ENDIF.
WHEN 8.
l_firstvisiblerowlist-name = ff-name.
l_firstvisiblerowlist-value = ff-value.
APPEND l_firstvisiblerowlist TO me->firstvisiblerowlist.
ENDCASE.
ENDIF.
ENDLOOP.
Than you have to provide a generic method to read the firstvisiblerow for each tableview
GET_FIRSTVISIBLEROW
*IM_TABLENAME
*RE_VALUE
DATA: l_firstvisiblerow TYPE zmmsp_tableview_1st_visi_row.
READ TABLE me->firstvisiblerowlist INTO l_firstvisiblerow WITH KEY name = im_tablename.
IF sy-subrc = 0.
re_value = l_firstvisiblerow-value.
ELSE.
re_value = 1.
ENDIF.
And in the DO_REQUSET of each controller you could write something like:
* Paginator
DATA: l_tab1_visiblefirstrow TYPE sytabix.
l_tab1_visiblefirstrow = o_bsp_main->get_firstvisiblerow( 'f019id_tab1_visiblefirstrow' ).
As usual pass the value to the view via:
o_page->set_attribute( name = 'tab1visiblefirstrow' value = l_tab1_visiblefirstrow ).
Did you get it? -
To find the "column value" when clicked on Dynamic datatable
I ahve done a dynamic table where the first row alone i ahve declared as command link.So when I click on the commadn link I need to get either column name or column count or rowdata.If I Get then I have some logic based on it to do.
I have placed my dynamic datatable code below.
public class Datatable2 extends PageCodeBase
UIData dataTable =new UIData();
public Datatable2()
UIColumn col;
UIOutput out = null;
ArrayList al=new ArrayList();
al.add("Item");
al.add("Creation date");
al.add("Priority");
Application app = FacesContext.getCurrentInstance().getApplication();
int colCount = 3;
for(int j = 0; j < colCount; ++j) {
out = new UIOutput();
col = new UIColumn();
if(dataTable.getRowIndex()==-1)
MethodBinding mb = app.createMethodBinding("#{pc_DataTable.item}", null);
HtmlCommandLink link = (HtmlCommandLink)app.createComponent(HtmlCommandLink.COMPONENT_TYPE); link.setActionListener(mb);
link.setAction(mb);
link.setId("Command"+j);
ValueBinding vb1 = app.createValueBinding("#{commands" + j + "}");
link.setValueBinding("value",vb1);
link.setRendererType("javax.faces.Link");
HtmlOutputText O = new HtmlOutputText();
O.setValue(al.get(j).toString());
link.getChildren().add(O);
col.setHeader(link);
ValueBinding vb = app.createValueBinding("#{rows["+j+"]}");
out.setValueBinding("value", vb);
out.setRendererType("javax.faces.Text");
col.getChildren().add(out);
dataTable.getChildren().add(col);
public UIData getDataTable()
return dataTable;
public void setDataTable(UIData dataTable)
this.dataTable=dataTable;
public Object[] getTableRows()
Object[] test = new Object[]{new String[]{"1","2","3"},
new String[]{"4","5","6"},
new String[]{"7","8","9"},
new String[]{"10","11","12"},
new String[]{"13","14","15"}};
return test;
this is my jsp code
<f:view>
<P>Place content here.</P>
<h:form>
<h:dataTable binding="#{pc_Datatable2.dataTable}" value="#{pc_Datatable2.tableRows}" var= "rows" />
</h:form>
</f:view>
Could please tell how can i figure out my coulmn value when clicked on the command linkhello,
u can use two types methods u can create a dynamic action or by branching using conditional or java script code
for java script code just call the code when button clicked and in javascript function by using if condition u can redirect.
Regards,
Ramana -
Finder crashes in multi-column view when clicking file
Hello All,
This problem occurred recently after my powerbook refused to wake from sleep mode:
If Finder is open in multiple-column view and I select a file, Finder then disappears. I believe it has something to do w/ showing the file preview or in getting the file information. This happens w/ every file; I can still traverse directories or start programs/open files when I run Finder in icon view or single-column view.
I tried: rm -fr /Users/jacobc/Library/Preferences/com.apple.Finder.plist which had no effect.
*From Console.app:*
===== Thursday, May 15, 2008 9:53:04 AM Europe/Amsterdam =====
2008-05-15 09:55:26.492 Finder[499] CFLog (0):
CFPropertyListCreateFromXMLData(): plist parse failed; the data is not proper UTF-8. The file name for this data could be:
(UNKNOWN)
The parser will retry as in 10.2, but the problem should be corrected in the plist.
May 15 09:55:27 fender crashdump[508]: Finder crashed
May 15 09:55:28 fender crashdump[508]: crash report written to: /Users/jacobc/Library/Logs/CrashReporter/Finder.crash.log
*From /Users/jacobc/Library/Logs/CrashReporter/Finder.crash.log:*
Host Name: fender
Date/Time: 2008-05-15 09:55:26.586 +0200
OS Version: 10.4.11 (Build 8S165)
Report Version: 4
Command: Finder
Path: /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
Parent: WindowServer [71]
Version: 10.4.7 (10.4.7)
Build Version: 1
Project Name: Finder_FE
Source Version: 5292900
PID: 499
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNPROTECTIONFAILURE (0x0002) at 0x00000034
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x9080d764 CFBundleCopyLocalizedString + 124
1 Metadata 0x910d989c MDSchemaCopyDisplayNameForAttribute + 60
2 com.apple.finder 0x0013a358 0x1000 + 1282904
3 com.apple.finder 0x00139d3c 0x1000 + 1281340
4 com.apple.finder 0x001936bc 0x1000 + 1648316
5 com.apple.finder 0x00261c34 dyldstubOpenADefaultComponent + 432452
6 com.apple.finder 0x00261c1c dyldstubOpenADefaultComponent + 432428
7 com.apple.finder 0x00153bc4 0x1000 + 1387460
8 com.apple.finder 0x00153d78 0x1000 + 1387896
9 com.apple.finder 0x000c3130 0x1000 + 794928
10 com.apple.finder 0x000c2ab4 0x1000 + 793268
11 com.apple.finder 0x001ab9b8 0x1000 + 1747384
12 com.apple.finder 0x000735ec 0x1000 + 468460
13 com.apple.finder 0x0005ba20 0x1000 + 371232
14 com.apple.CoreFoundation 0x907f2370 __CFRunLoopDoTimer + 184
15 com.apple.CoreFoundation 0x907dece8 __CFRunLoopRun + 1680
16 com.apple.CoreFoundation 0x907de29c CFRunLoopRunSpecific + 268
17 com.apple.HIToolbox 0x932aeb20 RunCurrentEventLoopInMode + 264
18 com.apple.HIToolbox 0x932ae1b4 ReceiveNextEventCommon + 380
19 com.apple.HIToolbox 0x932f3348 AcquireNextEventInMode + 72
20 com.apple.HIToolbox 0x932f3138 RunApplicationEventLoop + 132
21 com.apple.finder 0x00008960 0x1000 + 31072
22 com.apple.finder 0x00004f18 0x1000 + 16152
23 com.apple.finder 0x00069ff0 0x1000 + 430064
24 com.apple.finder 0x00069e98 0x1000 + 429720
Thread 1:
0 libSystem.B.dylib 0x9002f08c kevent + 12
1 com.apple.DesktopServices 0x92b09e50 TFSNotificationTask::FSNotificationTaskProc(void*) + 56
2 ...ple.CoreServices.CarbonCore 0x90bc4794 PrivateMPEntryPoint + 76
3 libSystem.B.dylib 0x9002bd08 pthreadbody + 96
Thread 2:
0 libSystem.B.dylib 0x9002c3c8 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x90030eac pthreadcondwait + 480
2 ...ple.CoreServices.CarbonCore 0x90bc4984 MPWaitOnQueue + 224
3 com.apple.DesktopServices 0x92b0a4cc TNodeSyncTask::SyncTaskProc(void*) + 116
4 ...ple.CoreServices.CarbonCore 0x90bc4794 PrivateMPEntryPoint + 76
5 libSystem.B.dylib 0x9002bd08 pthreadbody + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x000000009080d764 srr1: 0x000000000200d030 vrsave: 0x0000000000000000
cr: 0x44028242 xer: 0x0000000000000007 lr: 0x000000009080d764 ctr: 0x00000000907c6d08
r0: 0x000000009080d74c r1: 0x00000000bfffede0 r2: 0x0000000000000040 r3: 0x0000000000000034
r4: 0x000000009086ecec r5: 0x0000000000000000 r6: 0x00000000910f9780 r7: 0x00000000a07c0e44
r8: 0x00000000000007c8 r9: 0x0000000000000007 r10: 0x00000000a10d7b48 r11: 0x00000000000007c8
r12: 0x00000000907c6d08 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000000
r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x0000000000000000 r19: 0x0000000000000000
r20: 0x000000007fffffff r21: 0x00000000ffffffff r22: 0x0000000000607a98 r23: 0x0000000000000000
r24: 0x00000000a10d6d9c r25: 0x00000000006eda30 r26: 0x00000000a10d7b48 r27: 0x0000000000000000
r28: 0x00000000006edb1c r29: 0x00000000bfffefb0 r30: 0x0000000000000000 r31: 0x000000009080d6f8
Binary Images Description:
0x1000 - 0x31dfff com.apple.finder 10.4.7 /System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
0x5f9000 - 0x5fbfff com.apple.textencoding.unicode 2.0 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x5fc1000 - 0x6029fff com.DivXInc.DivXDecoder 6.2.5 /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder
0x6036000 - 0x60d7fff com.apple.QuickTimeImporters.component 7.4.5 (67) /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTime Importers
0x60fd000 - 0x6176fff com.DivXInc.DivXDecoder 6.0.5 /Library/QuickTime/DivX 6 Decoder.component/Contents/MacOS/DivX 6 Decoder
0x8fe00000 - 0x8fe52fff dyld 46.16 /usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021b000 - 0x90268fff com.apple.CoreText 1.0.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x90293000 - 0x90344fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x90373000 - 0x9072efff com.apple.CoreGraphics 1.258.77 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x907bb000 - 0x90895fff com.apple.CoreFoundation 6.4.10 (368.33) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x908defff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908e0000 - 0x909e2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a3c000 - 0x90ac0fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90aea000 - 0x90b5afff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b70000 - 0x90b82fff libauto.dylib /usr/lib/libauto.dylib
0x90b89000 - 0x90e60fff com.apple.CoreServices.CarbonCore 681.17 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90ec6000 - 0x90f46fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90f90000 - 0x90fd2fff com.apple.CFNetwork 4.0 (129.23) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x90fe7000 - 0x90ffffff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x9100f000 - 0x91090fff com.apple.SearchKit 1.0.7 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x910d6000 - 0x91100fff Metadata /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x91111000 - 0x9111ffff libz.1.dylib /usr/lib/libz.1.dylib
0x91122000 - 0x912ddfff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913dc000 - 0x913e5fff com.apple.DiskArbitration 2.1.2 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913ec000 - 0x913f4fff libbsm.dylib /usr/lib/libbsm.dylib
0x913f8000 - 0x91420fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91433000 - 0x9143efff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x91443000 - 0x914befff com.apple.audio.CoreAudio 3.0.5 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914fb000 - 0x914fbfff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x914fd000 - 0x91535fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x91550000 - 0x91622fff com.apple.ColorSync 4.4.10 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x91675000 - 0x91706fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x9174d000 - 0x91804fff com.apple.QD 3.10.25 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x91841000 - 0x9189ffff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x918ce000 - 0x918f2fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x91906000 - 0x9192bfff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x9193e000 - 0x91980fff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x9199c000 - 0x919b0fff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919be000 - 0x91a04fff com.apple.ImageIO.framework 1.5.6 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91a1b000 - 0x91ae2fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b30000 - 0x91b45fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b4a000 - 0x91b68fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b6e000 - 0x91c25fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91c74000 - 0x91c78fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91c7a000 - 0x91ce4fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91ce9000 - 0x91d26fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91d2d000 - 0x91d47fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91d4c000 - 0x91d4ffff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91d51000 - 0x91e3ffff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91e5e000 - 0x91e5efff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91e60000 - 0x91f45fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91f4d000 - 0x91f6cfff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91fd8000 - 0x92046fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x92051000 - 0x920e6fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x92100000 - 0x92688fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x926bb000 - 0x929e6fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92a16000 - 0x92b04fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92b07000 - 0x92b8ffff com.apple.DesktopServices 1.3.7 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x92bd0000 - 0x92dfbfff com.apple.Foundation 6.4.10 (567.37) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92f28000 - 0x92f46fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92f51000 - 0x92fabfff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92fc9000 - 0x92fc9fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92fcb000 - 0x92fdffff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92ff7000 - 0x93007fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x93013000 - 0x93028fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x9303a000 - 0x930c1fff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x930d5000 - 0x930e0fff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x930ea000 - 0x93117fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x93131000 - 0x93141fff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x9314d000 - 0x931b3fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x931e4000 - 0x93233fff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x93261000 - 0x9327efff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x93290000 - 0x9329dfff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x932a6000 - 0x935b4fff com.apple.HIToolbox 1.4.10 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x93704000 - 0x93710fff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x94217000 - 0x942dcfff com.apple.audio.toolbox.AudioToolbox 1.4.7 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x9432f000 - 0x9432ffff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x94331000 - 0x944f1fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94580000 - 0x945d0fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x945d9000 - 0x945f3fff com.apple.CoreVideo 1.4.2 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x94604000 - 0x94624fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94661000 - 0x946a6fff com.apple.bom 8.5 (86.3) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x947c7000 - 0x947d6fff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x947de000 - 0x947eafff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x94830000 - 0x94848fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x9484f000 - 0x94b79fff com.apple.QuickTime 7.4.5 (67) /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94c60000 - 0x94cd1fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x94fff000 - 0x95005fff com.apple.filesync 3.0.4 (99.8) /System/Library/PrivateFrameworks/FileSync.framework/Versions/A/FileSync
0x97bd9000 - 0x97bf8fff com.apple.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x983fe000 - 0x9840bfff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x99f23000 - 0x9ad33fff com.apple.QuickTimeComponents.component 7.4.5 (67) /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponentsHello BDAqua,
*Thank-you for your reply. I did Verify/Repair HD Perms and I tried rebuilding the LaunchServices db which produced the following output:*
fender:~ root# /System/Library/Frameworks/ApplicationServices.framework/\
Frameworks/LaunchServices.framework/Support/lsregister \
-kill -r -domain local -domain system -domain user
2008-05-15 14:16:34.902 lsregister[360] CFLog (0):
CFPropertyListCreateFromXMLData(): plist parse failed; the data is not proper UTF-8. The file name for this data could be:
Contents/Info.plist -- file://localhost/System/Library/Spotlight/Application.mdimporter/
The parser will retry as in 10.2, but the problem should be corrected in the plist.
2008-05-15 14:16:34.999 lsregister[360] CFLog (0):
CFPropertyListCreateFromXMLData(): plist parse failed; the data is not proper UTF-8. The file name for this data could be:
Contents/Info.plist -- file://localhost/System/Library/Spotlight/Image.mdimporter/
The parser will retry as in 10.2, but the problem should be corrected in the plist.
*I also get similar plist errors when I try to connect to another machine w/ ssh on the commandline. Should I be gathering info on what 'plist' is/does? Or perhaps focusing in on Spotlight?*
*In addition to "Verify/Repair Disk Permissions", I also ran "Verify Disk" which produced the following:*
Verifying volume “Piece of the Action”
Checking HFS Plus volume.
Checking Extents Overflow file.
Checking Catalog file.
Checking multi-linked files.
Checking Catalog hierarchy.
Checking Extended Attributes file.
Overlapped extent allocation (file 27746 /System/Library/Spotlight/Audio.mdimporter/Contents/Info.plist)
27746 /System/Library/Spotlight/Audio.mdimporter/Contents/Info.plist
%@)",1)
46774 /usr/sbin/sendmail
Overlapped extent allocation (file 202481 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/Resources/Italian.lproj/Localized.strings)
Overlapped extent allocation (file 211340 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/Resources/Dutch.lproj/Localized.strings)
Overlapped extent allocation (file Overlapped extent allocation (file stem/Library/Spotlight/iPhoto.mdimporter/Contents/Info.plist)
Overlapped extent allocation (file 795359 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Resources/schema.xml)
Overlapped extent allocation (file 925283 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Resources/Info.plist)
Overlapped extent allocation (file Overlapped extent allocation (file t/iCal/Sources/C8222BA7-39CF-4ABC-B619-1E055A0B4271.calendar/corestorage.ics)
Overlapped extent allocation (file 2317978 /Applications/Firefox.app/Contents/MacOS/greprefs/xpinstall.js)
Overlapped extent allocation (file 2700229 /Users/jacobc/Library/Application Support/iCal/Sources/3B9F64D7-4E0B-4453-A766-6F508A5C8E6A.calendar/corestorage. ics)
Overlapped extent allocation (file Overlapped extent allocation (file .app/Contents/Info.plist)
Overlapped extent allocation (file 4825349 /Library/Google/Google Updater/Google Updater.app/Contents/Info.plist)
Overlapped extent allocation (file 5205635 /Users/jacobc/Library/Application Support/iCal/Sources/C8222BA7-39CF-4ABC-B619-1E055A0B4271.calendar/Info.plist)
Overlapped extent allocation (file 5205640 /Users/jacobc/Library/Application Support/iCal/Sources/F5DC0046-5D48-4E22-9A28-976879F51096.calendar/Info.plist)
5205640 /Users/jacobc/Library/Application Support/iCal/Sources/F5DC0046-5D48-4E22-9A28-976879F51096.calendar/Info.plist
cation (file %@)",1)
5205642 /Users/jacobc/Library/Application Support/iCal/Sources/216D55EA-00AD-4252-8716-C5C687C5AEDA.calendar/Info.plist
Overlapped extent allocation (file 5890727 /Users/jacobc/Library/Application Support/Firefox/Profiles/42oexbuf.default/extensions/{3f1182ea-3243-4d32-8826-7 1fb1cc9c328}/locale/en-US/overlay.dtd)
Overlapped extent allocation (file 9657861 /private/var/vm/appprofile/5cnames)
Checking volume bitmap.
Checking volume bitmap.
0)
Checking volume information.
Volume Header needs minor repair
The volume Piece of the Action needs to be repaired.
Error: The underlying task reported failure on exit
1 HFS volume checked
Volume needs repair -
[SOLVED] Encoded URL's are Re-Encoded When Clicked
Some of our users here are copying URL's of relevant files [from one of our sites] and pasting them into Excel.
As the need arises, they refer back to the Excel document and click the link to retrieve the document.
When clicked the already-encoded URL's:
https://sub.domain/some/path/to/files/My%20Super%20Long%20File%20Name-Thats%20Already%20Encoded.pdf
Are getting encoded a second time, which result in a URL like:
https://sub.domain/some/path/to/files/My%2520Super%2520Long%2520File%2520Name-Thats%2520Already%2520Encoded.pdf
This naturally won't work because its now literally looking for a file called "My%20Super%20Long%20File%20Name-Thats%20Already%20Encoded.pdf" which of course doesn't exist.
The URL's in Excel appear normal in the cells themselves.
The editing the actual hyperlink confirms its also correct there as well.
The URL's also look normal in the formula bar.
I've reproduced this behavior on multiple company machines: Windows 7 x64 Enterprise SP1 with Office ProPlus 2010 32-bit.
I was also able to reproduce this on vanilla Windows 7 VM's in Hyper-V using Office ProPlus 2010 and 2013. Although domain joined, they're in an OU with blocked inheritance enabled and no linked GPO's.
I can't figure out where the problem is: Excel, Windows, IIS or something else?Hi,
I’ve done a test for this situation, but the url won’t change after reopening the file.
1. A pdf file in SharePoint, and the file name contains some spaces which is the same with customers.
2. Input the SharePoint URL into Excel, and each spaces has been replaced by %20
3. Then, I can open the file in IE
4. After I closed the website and excel file, I could open it in IE again and the URL didn’t change.
As you mentioned in the ticket “Are getting encoded a second time, which result in a URL like”, may I know if the re-encoding was done automatically or manually? Based on the test result, it won’t encode a second automatically.
If it is done manually, the issue should be most likely caused by the space character being encoded twice, because the space character is encoded as %20 as our two url show. However, based on your second url, it turned into %2520, Since the % character
is encoded as %25, it should be a result of a double encoded. Actually, URLs need their characters to be in a specific format, ASCII characters, so that browsers can correctly interpret and parse the data. For every ASCII character in URLs, it will be encoded
a string starting with %, and % is also an ASCII character in URLs and encoded to %25. If we double encode a URL, which results that every ASCII character in the URL will be encoded a string starting with %25, and that the URL becomes invalid. Therefore, I
suggest you name the file using
alpha-numeric
characters
only or do not encode it twice.
If it is done automatically, since you have reproduced the issue on multiple machines, could you please help check the following Excel settings in several machines to make comparisons with each other.
Excel Option>Advanced, Scroll to the General section and click Web Options, select Encoding
If it possible, would you mind sharing a test file with me to do a test from my end?
Regards,
Melon Chen
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click
here -
SharePoint Edit form should pop up when clicked on the hyperlinked itme of a SharePoint list
I have a SharePoint list where i hae this title column which when clicked brings the display form.
Can i modify it in such a way that it should pop up the edit form in place of dislay form.
ThanksOpen the AllItems.aspx page of that list in SharePoint Designer
Select a title and right click on it. Format item As -> Hyperlink to -> Edit Form
This will redirect you to edit form when the title column link is clicked.
But if you want to show the modal pop up it edit mode, open the Allitems.aspx page in designer
Select the list view web part, on the ribbon in the List View Tools -> Design tab -> Customize XSLT -> Customize Entire View
Switch to the code view, search for FORM_DISPLAY and change it to FORM_EDIT.
jayant prabhakar -
Swing JTable error when clicking on column header
Hi I'm using ADF Swing in JDev 10.1.3 linking a UI JTable to a ADF viewobject, when clicking on the column header i get the follwing:
[ConditionalEventPump] Exception occurred during event dispatching:
oracle.jbo.InvalidObjNameException: JBO-25005: Objektnavn 1 for type Variabel er ugyldigt
at oracle.jbo.common.VariableImpl.validateName(VariableImpl.java:234)
at oracle.jbo.common.VariableImpl.setVariableKind(VariableImpl.java:301)
at oracle.jbo.server.ViewRowSetImpl.defineNamedWhereClauseParam(ViewRowSetImpl.java:3390)
at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:10374)
at oracle.jbo.server.ViewObjectImpl.retrieveByKey(ViewObjectImpl.java:10180)
at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:3955)
at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:3794)
at oracle.jbo.server.ViewRowSetImpl.findByKey(ViewRowSetImpl.java:3782)
at oracle.jbo.server.ViewObjectImpl.findByKey(ViewObjectImpl.java:6991)
at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowInRSI(DCJboDataControl.java:930)
at oracle.adf.model.bc4j.DCJboDataControl.setCurrentRowWithKey
(DCJboDataControl.java:881)
at oracle.jbo.uicli.jui.JUTableBinding$1$1.run(JUTableBinding.java:222)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:158)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)Hi,
in this case the bind variable name comes from the viewLink definition. What is the m/d, is it based on e.g. Departments/Employees pushing the ADF BC wizard? I need to understand how to build a testcase that allows me to reproduce the issue. Do you show both , master and detail on the Swing form, or only the detail?
Frank -
JTable sorting when clicked on header
In my JTable when clickedon JTable header of a column it doesn't get sorted. how do I make sort when clicked on hearder column?
Thanks.Check out
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#sorting -
I just purchased photoshop elements and went to retrieve my serial code. The web page provided to retrieve it loads blank, even when clicking on the URL through adobe's web site. I can not install my product without this. Please help
Drusso77 if you are continuing to face difficulties locating your serial number then please see Find your serial number quickly - http://helpx.adobe.com/x-productkb/global/find-serial-number.html. You are also welcome to contact our support team at http://adobe.ly/1aYjbSC.
-
I just got an iphone 4 and when I go to sync it, it appears in the left hand column but when I click on it there is just a blank screen with the apply logo and a tiny lock.
OK, I think I fixed it.
After trying to restore with an old backup from the phone (it estimated it would take 4 hours) I cancelled and went through the setup menus again, but set it up as a new phone. It then appeared in iTunes and I restored it from the computer, not the phone. It appears to be working, it's syncing my old apps right now.
Summary:
1. Reset settings on phone (hopefully you backed up fairly recently)
2. Set up as NEW iPhone in setup menu on phone
3. Restore from iTunes on computer when it recognizes the phone
4. Cross fingers -
Get the raw/column number of a left-mouse clicked table cell
is this possible to get the row/column number of
a cell where a mouse is clicked? Accutally, i want to implement a
dynamic one column list which the user can "Add" or "Delete" some entries. The
"Add" function is all right. The "Delete" function
makes me upset because I cannot catch the cell's location where the
mouse is choosing. I tries to use "Active Cell", it seems does not
work. Do you have any clue? is this possible to implement the dynamic list using the "listbox"? thanksI would use the EditPos property value. In my testing, it always returned the row and column of the cell I had left-clicked on.
-
Is there any option in JTable to add the column number
Hi,
I am using JTable to show some data read from database.
I want to add the column number autometically.(Without by talking a variable and incrementing that by 1.After that add that to the first column.)
I want just like a auto increment row number.
Is there any option in JTable?
Thanksfor(int i = 0; i < table.getRowCount(); i++){
table.setValueAt(i, i, 0);
} -
JTable Column Max Number Doubt
Hello there,
I have this JTable Doubt. I have always been strugling with jtables and here I am stuck again and not able to do this.
My Database has defined a column that accepts a String Number. It can have upto 4 decimals and 2 fractional Numbers. So thats a total of 6 digits with a contraint as mentioned above.
I can have user input as 9999.99 and not 99999.9
Could you please tell me how I could have one of my JTables column to accept only input like this.
Regards,
HemanthIt is not clear to me whether you are talking about rendering or editing.
Maybe you are looking for
-
Software Update Service house cleaning
What controls house cleaning for the Software Update Service? If I ask it to stop mirroring updates that have long since been applied, the files still hide in /usr/share/swupd/. Deselecting the mirroring of an update doesn't help. The normal house ke
-
How do I move my pic from one app to another?
How do can I move pics from one app to another?
-
Hi, I have a 2 node cluster that we have upgraded from OES11 to OES11 sp1 at the beginning of august Last week we create a new ressource on the primary node (let's say NODE 1), but when we want to migrate this new ressource to the other node (let's s
-
G/L account is not define in chart of account F5507 error in MIRO
Hi, While doing MIRO as soon as We enter the PO number system gives the error message F5507 G/L account is not define in chart of account F5507, I have check the G/L account in FS00 it isproperly mainatin also in COCD data Chart of account , contr
-
I have had my ipod touch 4th generation for a few years now and all of a sudden it wont connect to wifi. Even though it says im connected it doesn't work. It has a tick beside the name and everything! Also it has three bars saying im fully connected