URGENT -- JSPLITPANE
I have a JSplitPane (vertical divider).
Left side of JSplitPane is JTree and Right side I need to add JPanels on selection of nodes in JTree.
Problem I am facing is when JPanel is added to right side it
reduces the left side of the JSplitPane and I cannot see the JTree. JPanel layout is a combination of GridBagConst. and Border. Has this got to do with layout or JSplitPane??
Please help
Try to use it
JSplitPane split;
after JPanel addition use
split.setDividerLocation(N);
N is divider position
regards
Stas
Similar Messages
-
ScrollBars not showing up for the JPanel [urgent]
Hi,
I have a frame in which i have two nested split panes i.e one horizontal splitpane and in that i am having one more split pane on the right side and a JTree on the left side.In the second split pane (which is a vertical split) ,as a top component , i am setting a JScrollPane in which i am trying to display a JPanel which is having a lot of swing components in it.I want to see the scroll bars for this panel so that i can see all the components.Do i have to implement Scrollable interface for this panel to scroll in the ScrollPane.I don't know how to implement Scrollable interface.Can some body help me in resolving this?This is some what urgent.Any help will be highly appreciated.
Thanks in advance.
AshokThank you all for your replies.I added the scroll bar policy.The scroll bars are showing up but the components inside the Panel are not moving.I want the components to move when i am scrolling.Here is my code.In the code SeriesDescPanel, SeriesDescMapPanel are sub classes of JPanel.I am using null layout to add the components to these panels.
public class MainWindow extends JFrame implements TreeExpansionListener
public MainWindow()
throws RemoteException
// This code is automatically generated by Visual Cafe when you add
// components to the visual environment. It instantiates and initializes
// the components. To modify the code, only use code syntax that matches
// what Visual Cafe can generate, or Visual Cafe may be unable to back
// parse your Java file into its visual environment.
//{{INIT_CONTROLS
setJMenuBar(menuBar);
setTitle("Series Maintenance");
getContentPane().setLayout(new BorderLayout(0,0));
setSize(667,478);
setVisible(false);
JSplitPane1.setDividerSize(1);
JSplitPane1.setOneTouchExpandable(true);
getContentPane().add(BorderLayout.CENTER, JSplitPane1);
seriesMenu.setText("Series");
seriesMenu.setActionCommand("Series");
menuBar.add(seriesMenu);
newSeriesGroupMenuItem.setText("New Series Group");
newSeriesGroupMenuItem.setActionCommand("New Series Group");
seriesMenu.add(newSeriesGroupMenuItem);
newSeriesMenuItem.setText("New Series");
newSeriesMenuItem.setActionCommand("New Series");
seriesMenu.add(newSeriesMenuItem);
seriesMenu.add(JSeparator1);
serachMenuItem.setText("Search");
serachMenuItem.setActionCommand("Search");
seriesMenu.add(serachMenuItem);
seriesMenu.add(JSeparator2);
saveMenuItem.setText("Save");
saveMenuItem.setActionCommand("Save");
seriesMenu.add(saveMenuItem);
seriesMenu.add(JSeparator3);
exitMenuItem.setText("Exit");
exitMenuItem.setActionCommand("Exit");
seriesMenu.add(exitMenuItem);
adminMenu.setText("Administration");
adminMenu.setActionCommand("Administration");
menuBar.add(adminMenu);
bulkLoadMenuItem.setText("Bulk Load");
bulkLoadMenuItem.setActionCommand("Bulk Load");
adminMenu.add(bulkLoadMenuItem);
drsMenuItem.setText("DRS override");
drsMenuItem.setActionCommand("DRS override");
adminMenu.add(drsMenuItem);
helpMenu.setText("Help");
helpMenu.setActionCommand("Help");
menuBar.add(helpMenu);
tutorialMenuItem.setText("Tutorial");
tutorialMenuItem.setActionCommand("Tutorial");
helpMenu.add(tutorialMenuItem);
bulkLoadFormatMenuItem.setText("Bulk Load Format");
bulkLoadFormatMenuItem.setActionCommand("Bulk Load Format");
helpMenu.add(bulkLoadFormatMenuItem);
aboutMenuItem.setText("About");
aboutMenuItem.setActionCommand("About");
helpMenu.add(aboutMenuItem);
JSplitPane2 = new javax.swing.JSplitPane();
upperPanel = new SeriesDescPanel();
JScrollPane2 = new javax.swing.JScrollPane(upperPanel,
ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED);
JScrollPane3 = new javax.swing.JScrollPane();
JSplitPane2.setOrientation(0);
JSplitPane2.setDividerSize(1);
JSplitPane2.setOneTouchExpandable(true);
JSplitPane1.setRightComponent(JSplitPane2);
JSplitPane1.setLeftComponent(viewPane);
viewPane.add(alphabeticPane);
viewPane.add(searchDataPane);
viewPane.setTitleAt(0,"All");
viewPane.setTitleAt(1,"search");
//JScrollPane1.setMinimumSize(new Dimension(126, 478));
JSplitPane2.setTopComponent(JScrollPane2);
//JScrollPane2.setMinimumSize(new Dimension(426, 409));
JSplitPane2.setBottomComponent(JScrollPane3);
lowerPanel = new SeriesDescMapPanel();
seriesTreeModel = new SeriesTreeModel(SeriesMaintenanceUI.getSeriesGroupInfo());
tickersTree.setModel(seriesTreeModel);
alphabeticPane.getViewport().setView(tickersTree);
//JScrollPane2.getViewport().setView(upperPanel);
//JScrollPane2.setViewportView(upperPanel);
//upperPanel.scrollRectToVisible(new Rectangle(upperPanel.getWidth(),
//upperPanel.getHeight(),1,1));
JScrollPane3.getViewport().setView(lowerPanel);
//JSplitPane2.setPreferredSize(new Dimension(426,200));
SeriesDescPanel upperPanel;
SeriesDescMapPanel lowerPanel;
SeriesTreeModel seriesTreeModel;
SeriesTreeModel searchTreeModel;
javax.swing.JSplitPane JSplitPane2;
javax.swing.JScrollPane JScrollPane2;
javax.swing.JScrollPane JScrollPane3;
javax.swing.JTree tickersTree = new javax.swing.JTree();
javax.swing.JTree searchTree = new javax.swing.JTree();
javax.swing.JScrollPane alphabeticPane = new javax.swing.JScrollPane();
javax.swing.JTabbedPane viewPane = new JTabbedPane(SwingConstants.BOTTOM);
javax.swing.JScrollPane searchDataPane = new javax.swing.JScrollPane();
//{{DECLARE_CONTROLS
javax.swing.JSplitPane JSplitPane1 = new javax.swing.JSplitPane();
javax.swing.JMenuBar menuBar = new javax.swing.JMenuBar();
javax.swing.JMenu seriesMenu = new javax.swing.JMenu();
javax.swing.JMenuItem newSeriesGroupMenuItem = new javax.swing.JMenuItem();
javax.swing.JMenuItem newSeriesMenuItem = new javax.swing.JMenuItem();
javax.swing.JSeparator JSeparator1 = new javax.swing.JSeparator();
javax.swing.JMenuItem serachMenuItem = new javax.swing.JMenuItem();
javax.swing.JSeparator JSeparator2 = new javax.swing.JSeparator();
javax.swing.JMenuItem saveMenuItem = new javax.swing.JMenuItem();
javax.swing.JSeparator JSeparator3 = new javax.swing.JSeparator();
javax.swing.JMenuItem exitMenuItem = new javax.swing.JMenuItem();
javax.swing.JMenu adminMenu = new javax.swing.JMenu();
javax.swing.JMenuItem bulkLoadMenuItem = new javax.swing.JMenuItem();
javax.swing.JMenuItem drsMenuItem = new javax.swing.JMenuItem();
javax.swing.JMenu helpMenu = new javax.swing.JMenu();
javax.swing.JMenuItem tutorialMenuItem = new javax.swing.JMenuItem();
javax.swing.JMenuItem bulkLoadFormatMenuItem = new javax.swing.JMenuItem();
javax.swing.JMenuItem aboutMenuItem = new javax.swing.JMenuItem();
Pl. help me in resolving this.
Ashok -
Urgent..Please..setting node as selected programmatically
Hi,
Can somebody tell me how to set a tree node as selected programmatically?..
i.e. I have tree in which all the nodes bear a name of the color. I have a thread which keeps changing the selected node, and based on the selection the color will be displayed in my right panel.(JSplitPane). This should happen automatically and user will keep seeing the node selection changed in the tree and corresponding color in the right side. I have used DefaultTreeModel to loop thro' the tree nodes. But I am unable to make a node as selected in the tree..Can anyone help me please..Its urgent..
Thanx in advance.I couldn't remember, so I looked in the API documentation for JTree. It wasn't long before I came to a method "addSelectionPath(TreePath)", which is what you want. I leave it as an exercise for you to figure out how to get a TreePath from your node.
-
Vey URGENT: List of buttons
Hello,
I'm working on aproject where I have to implement a Gui that communicate with some electronic devices connected to the PC using a USB port.
To begin, I have to display the name and the serial number of each device in a button. I don't know the number of devices that would be connected.
The buttons will be created progressively as devices are detected and information on a device is retrieved.
So as a solution, I thought about creating a list of buttons.
Here's below the code I used. I have 2 classes:
1. Class InfoDevice, where I create my buttons progressively. Here's the method used for doing this:
public static Vector CreateButtons (){
try{
//get exclusive use of the adapter
adapter.beginExclusive(true);
//clear any previous search retrictions
adapter.setSearchAllDevices();
adapter.targetAllFamilies();
adapter.setSpeed(adapter.SPEED_REGULAR);
// enumerate through all the 1-Wire devices found
for (Enumeration owd_enum = adapter.getAllDeviceContainers();
owd_enum.hasMoreElements(); )
owd = ( OneWireContainer ) owd_enum.nextElement();
addressDevice = owd.getAddressAsString();
nameDevice = owd.getName();
deviceButton = new JButton (nameDevice + '\n' + addressDevice);
devicesList.addElement(deviceButton);
// end exclusive use of adapter
adapter.endExclusive();
// free port used by adapter
adapter.freePort();
catch (Exception e)
msg = new JLabel("Cannot detect devices"); //open dialog box
return devicesList;
} //end CreateButtons
2. class Main Page, which extends JFrame, and where the main container is a split Panel.
private JSplitPane getJSplitPane() {
if (jSplitPane == null) {
jSplitPane = new JSplitPane();
jSplitPane.setLeftComponent(getJScrollPane());
jSplitPane.setRightComponent(getJPanel());
jSplitPane.setContinuousLayout(true);
jSplitPane.setOneTouchExpandable(true);
jSplitPane.setBorder(BorderFactory.createEmptyBorder(
15, //top
20, //left
10, //bottom
20) //right
return jSplitPane;
* This method initializes jScrollPane
* @return javax.swing.JScrollPane
private JScrollPane getJScrollPane() {
if (jScrollPane == null) {
JLabel lblDeviceList = new JLabel(" Device List ");
lblDeviceList.setFont(fontBold);
//listDevices = new JList(InfoDevice.CreateButtons());
//System.out.println ("test");
Vector buttons = InfoDevice.CreateButtons();
JPanel content = new JPanel();
content.setLayout(new FlowLayout());
content.add(lblDeviceList);
for (int i = 0; i < buttons.size(); i++) {
content.add((JButton) buttons.elementAt(i));
//content.add(listDevices);
jScrollPane = new JScrollPane(content);
return jScrollPane;
But I have nothing displayed, and don't know how to get to the solution.
Please help, it is very urgent.
Cheers,
Le�laFeeling very hardworking at the moment...
Here're the codes that'll display something. It's a modification from your codes, where I've stubbed some parts, and implemented the rest.
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.Font;
import java.util.Vector;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
* TODO: Description
public class SplitPane {
JSplitPane jSplitPane;
JScrollPane jScrollPane;
Font fontBold = new Font( "SansSerif", Font.BOLD, 16 );
private JSplitPane getJSplitPane() {
if ( jSplitPane == null ) {
jSplitPane = new JSplitPane();
jSplitPane.setLeftComponent( getJScrollPane() );
jSplitPane.setRightComponent( getJPanel() );
jSplitPane.setContinuousLayout( true );
jSplitPane.setOneTouchExpandable( true );
jSplitPane.setBorder( BorderFactory.createEmptyBorder( 15, 20, 10,
20 ) );
return jSplitPane;
* This method initializes jScrollPane
* @return javax.swing.JScrollPane
private JScrollPane getJScrollPane() {
if ( jScrollPane == null ) {
JLabel lblDeviceList = new JLabel( " Device List " );
lblDeviceList.setFont( fontBold );
Vector buttons = InfoDevice.CreateButtons();
JPanel content = new JPanel();
content.setLayout( new FlowLayout() );
content.add( lblDeviceList );
for ( int i = 0; i < buttons.size(); i++ ) {
content.add( (JButton) buttons.elementAt( i ) );
// content.add(listDevices);
jScrollPane = new JScrollPane( content );
jScrollPane.setMinimumSize( new Dimension( 200, 200 ) );
return jScrollPane;
private JPanel getJPanel() {
JPanel panel = new JPanel();
panel.add( new JLabel( "JPanel" ) );
return panel;
private void showGui( Component comp ) {
JFrame frame = new JFrame( "SplitPane" );
frame.getContentPane().setLayout( new BorderLayout() );
frame.getContentPane().add( comp, BorderLayout.CENTER );
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
frame.pack();
frame.setSize( 500, 300 );
frame.setLocation( 100, 100 );
frame.setVisible( true );
public static void main( String[] args ) {
SplitPane pane = new SplitPane();
JSplitPane splitPane = pane.getJSplitPane();
pane.showGui( splitPane );
class InfoDevice {
static Vector CreateButtons() {
Vector buttons = new Vector();
for ( int i = 0; i < 5; i++ ) {
JButton button = new JButton( Integer.toString( i ) );
buttons.add( button );
return buttons;
} -
Logical command in ABAP.....Urgent
Hi,
i am pretty new using ABAP program so i neeed help urgently. i am trying to move a file on the application server from one directory to the other and i was using the open dataset function to do that. but the file i am trying to move is pretty big and because i am using internal table to store, it is causing problems with the space.
i have consulted the basis guys and they have managed to create a logical file for copying from one directory to the other on the application server. to help you furthter. i am enclosing the mail sent to me.
I have created a logical command which should copy the file from one location to the other but you need to pass it the source dir and file name and the destination dir and file name.
The logical command is ZCOPY and uses cmd /c copy
Copies one or more files to another location.
COPY [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
[+ source [/A | /B] [+ ...]] [destination [/A | /B]]
source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
destination Specifies the directory and/or filename for the new file(s).
/V Verifies that new files are written correctly.
/N Uses short filename, if available, when copying a file with a
non-8dot3 name.
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.
/Z Copies networked files in restartable mode.
The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line. Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.
the problem now is i have no idea about how to use the logical command. can any one help me.
Thank you,
Ravi.If memory is not an issue, then there should be no reason why this should not work.
report zrich_0001.
parameters: d1 type localfile default '/usr/sap/TST/SYS/Data1.txt',
d2 type localfile default '/usr/sap/TST/SYS/Data2.txt'.
data: itab type table of string with header line.
start-of-selection.
* Read old file
open dataset d1 for input in text mode.
if sy-subrc = 0.
do.
read dataset d1 into itab.
if sy-subrc <> 0.
exit.
endif.
append itab.
enddo.
endif.
close dataset d1.
* Write to new file
open dataset d2 for output in text mode.
loop at itab.
transfer itab to d2.
endloop.
close dataset d2.
* Delete the old file
delete dataset d1.
Regards,
Rich Heilman -
Confirmation of balance - urgent
Hi,
We are using print program SAPF130K and SAPF130D for vendor and customer respectively.
My query is can we bring even the cleared items alongwith the open items in the same print program???
Now we have line items of open line items only?? As per our exploration into the program... we get only open items..
Also we are using SAP10 and SAP11 as the correspondence type.Kindly advise as to correspondence type should be changed so that it can print both the open and cleared items?
Please reply ASAP as it is very urgent.
Thanks in advance.
Regards
KarpagamHi,
Use T.Code F.42 FOR Vendor Balances
and F.23 For Customer Balances
Hope this will help u
Regards,
Sarfaraz -
FUNCTION IS NOT WORKING WHEN RUN IN SRW.RUN_REPORT, URGENT
Hi,
I have a report. it has got 1 Query and 2 groups.
Q1
|
|
__G1__
|F1 |
|F2 |
|F3 |
|
|
|
__G2__
|Items|
|Sales|
| Qty|
|Store|
|Func4|
|Func5|
|Func6|
The Query looks like above. Now In the report I have a 3 User parameters . For Each record in G2 the functions Func4,Func5 and Func6 adds the value to the user parameters at the report level.
Now the Func1,Func2,Func3 takes the value of last 4 record for each item at each G1 Level and devides it by 4 and prints . As an example given below
ITEMS-----SALES-------QTY-----------STORE
10001-----10000-------200-------------100
10001-----20000-------500-------------200
10001-----15000-------350-------------175
10001-----45000-------650-------------225
10001-----50000-------700-------------300
AVERAGE==>32500-------550-------------225 ==> Calculated by F1,F2,F3
20001-----70000-------900-------------400
20001-----30000-------600-------------350
20001-----20000-------500-------------300
20001-----25000-------450-------------275
20001-----35000-------550-------------225
20001-----65000-------800-------------400
AVERAGE==>36250-------650-------------300 ==> Avg of last 4 records
This report takes an parameter which is part of the Where condition of the Query Q1. If I run this report from the report builder and provide the value for the parameter then the report runs fine printing the exact values. If I run the report from another report(which I have to do, due to circumstances) using SRW.Run_Report and pass the parameter in the same command. The the function FUNC4, FUNC5, FUNC6 does not do the addition, as a result the Func1,Func2,Func3 returns 0. I dont know why this is happenning .
This is very very URGENT, My project manager is on my head to finish it ASAP. Please help.
Thanks
FerozHi Toby and Danny,
Thanks for the quick reply. I dont think I am having an interdependancy of the functions. Here is an sample what two functions do at each level
Func6 =========> This function at group level G2
begin
-- To initialize the user parameter for each new item.
If :CNT = 1 Then
:Wk4_Pos_Qty := 0;
End If;
-- to add the qty value to the user parameter for last 4 records. Uchange is the no of records for each item
If :CNT >= :UCHANGE - 3 Then
:Wk4_Pos_Qty := :Wk4_Pos_Qty + :Qty;
End If;
return 0;
end;
Func3 ======> this function at group level G1
Begin
-- if no of records are less than 4 then devide by the no of records or devide by 4.
If :UChange < 4 Then
return((:Wk4_Pos_Qty + :Qty) / :UChange);
Else
return((:Wk4_Pos_Qty + :Qty)/ 4);
End If;
end;
Here Wk4_Pos_Qty is the User parameter created to hold the calue for the Um of last 4 records Qty.
I tried to modify the Func3 so that it looks like this
Func3
begin
srw.reference(:Wk4_Pos_Qty);
If :UChange < 4 Then
return((:Wk4_Pos_Qty + :Qty) / :UChange);
Else
return((:Wk4_Pos_Qty + :Qty)/ 4);
End If;
end;
But it does not effect anything. I mean its the same. The Wk4_Pos_Qty returns 0 and Func3 returns 0.
Any Suggestions .
Thanks
Feroz -
Need some urgent help please.
I have a court summons for some information that has been taken from my Icloud account.
I believe my ex employer has hired someone to hack into my account. They have had my laptop inspected by a forensic company. Orginally they did not know what the five emails I sent myself were about. Now they do. I believe they have hacked my Icloud account. I have asked Apple to help but they are refusing is there any way I can find out please feel free to email me [email protected] Thanks have to go to court tomorrow morning.It sounds like you really might want to consider seeking legal advice for this matter.
-
Hi,
I am facing this problem, Please help me, I am attaching the source files
also along with the mail. This is a small CMP EJB application, I am using
IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
me the working copy of the same. I need these urgent. I am porting all my
beans from bea weblogic to Iplanet. Please help me dudes.
Err.........
[06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
caught
in kcp skeleton, exception = java.lang.NoSuchMethodError
[06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
java.lang.NoSuchMethodError
at
com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
nyHo
me.java:205)
at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
at
com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
mpanyHome.java:297)
at
com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
e.java:89)
at
com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
Caught an exception.
java.rmi.RemoteException: SystemException: exid=UNKNOWN
at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
at
com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
mpanyHome.java:324)
at
com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
e.java:89)
at
com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
Thanks in advance
Shravan
[Attachment iplanet_app.jar, see below]
[Attachment iplanet_src.jar, see below]One reason that I sometimes get 'NoSuchMethodError' is when I make a change to a
java class that is imported into another java class. When I go to run the
importing class, it will throw a 'NoSuchMethodError' on any methods that I've
changed in the imported class. The solution is to recompile the importing class
with the changed classes in the classpath.
shravan wrote:
Hi,
I am facing this problem, Please help me, I am attaching the source files
also along with the mail. This is a small CMP EJB application, I am using
IAS SP2 on NT server with Oracle 8. I highly appreciate if someone can send
me the working copy of the same. I need these urgent. I am porting all my
beans from bea weblogic to Iplanet. Please help me dudes.
Err.........
[06/Sep/2001 13:41:29:7] error: EBFP-marshal_internal: internal exception
caught
in kcp skeleton, exception = java.lang.NoSuchMethodError
[06/Sep/2001 13:41:29:7] error: Exception Stack Trace:
java.lang.NoSuchMethodError
at
com.se.sales.customer.ejb_kcp_skel_CompanyHome.create__com_se_sales_c
ustomer_Company__java_lang_Integer__indir_wstr__215617959(ejb_kcp_skel_Compa
nyHo
me.java:205)
at com.kivasoft.ebfp.FPRequest.invokenative(Native Method)
at com.kivasoft.ebfp.FPRequest.invoke(Unknown Source)
at
com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
mpanyHome.java:297)
at
com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
e.java:89)
at
com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
Caught an exception.
java.rmi.RemoteException: SystemException: exid=UNKNOWN
at com.kivasoft.eb.EBExceptionUtility.idToSystem(Unknown Source)
at com.kivasoft.ebfp.FPUtility.replyToException(Unknown Source)
at
com.se.sales.customer.ejb_kcp_stub_CompanyHome.create(ejb_kcp_stub_Co
mpanyHome.java:324)
at
com.se.sales.customer.ejb_stub_CompanyHome.create(ejb_stub_CompanyHom
e.java:89)
at
com.se.sales.customer.CompanyServlet.doGet(CompanyServlet.java:35)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
Thanks in advance
Shravan
Name: iplanet_app.jar
iplanet_app.jar Type: Java Archive (application/java-archive)
Encoding: x-uuencode
Name: iplanet_src.jar
iplanet_src.jar Type: Java Archive (application/java-archive)
Encoding: x-uuencode -
Error while opening a module. plz help me, very urgent.
when i try to open a module, the following error message appears on my screen.
" no j2ee component found in d:\krisp\programs\servlets".
i've installed bea in c: drive and my servlet program is in d: drive.
plz help me, it's very urgent.Can you provide some more information? What were you doing when this happened?
Can you post the entire error message?
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
Urgent: need help in creation of a simple PCUI application
Hi Experts,
I am new to this PCUI. i need the help of urs.
My requirement is
>>>>To create a simple PCUI application.This contains a Search and Result list.
>>>>Then i have to find the BSP coding or the HTML coding for the the PCUI
application.
>>>Can anyone please tell me the detailed steps for creating a simple PCUI application that displays the search and a result list???
>>>Then how can i find the BSP coding or script(such as HTML,XML..) coding used for the application.
Pls help me , its urgent.... If anyone have any kind of useful documents pls mail me in my id <b>[email protected]</b>
Thanks & Regards
SudhansuHi Experts,
I am new to this PCUI. i need the help of urs.
My requirement is
To create a simple PCUI application.This contains a Search and Result list.
Then i have to find the BSP coding or the HTML coding for the the PCUI
application.
Can anyone please tell me the detailed steps for creating a simple PCUI application that displays the search and a result list???
Then how can i find the BSP coding or script(such as HTML,XML..) coding used for the application.
Pls help me , its urgent.... If anyone have any kind of useful documents pls mail me in my id [email protected]
Thanks & Regards
Preethika -
Urgent OSX data recovery question
Hello,
I am in urgent need of assistance with recovering some data. Long story short I have a XServe that had two 40gb ADMs in it. I successfully backed up each disk to DMG files, then upgraded the ADMs to contain 500gb modules. I then blew out the megaraid config and set the new drives up as mirrors. I am finding now however that one of the DMGs that wasn't supposed to contain anything critical actually did, and when I try to open it I get an error that "no mountable file systems" are in it.
To top things off, earlier today the original drive was readable, but I wanted to try and boot back to it to see how the server was set up before. I popped it back into its ADM, and via the Install CD in Terminal I ran "megaraid -create auto" to try and make it boot to it again. The problem is that not only did that not work, but since then the drive cannot be read via any means.
Essentially, I have a drive that thinks it isnt even partitioned any more and a DMG file that won't open, and it is critical that I get some data from it. Does anyone know how I could possibly repair one of the two? The files I need are under the Library folder in a very specific location.You'll get a cogent answer posting to the OS X Server forum at http://discussions.apple.com/category.jspa?categoryID=96
-
Error in Installation of SAP R/3 4.7 - Urgent Help Pls !!!
Hi All,
I have a problem while installing SAP R/3 4.7. The Central instance has been successfully installed. Error occurred while installing the database instance. I am using SAPDB as the database. The error I get is the following:
**INFO 2008-03-01 14:15:57**
**Processing of host operation t_HostInfo_SHARED succeeded.**
**INFO 2008-03-01 14:16:07**
**The 'saploc' share exists at directory 'E:\usr\sap'. Choosing drive E: as SAP System drive.**
**INFO[E] 2008-03-01 14:16:56**
**Account group="ORA_GOK_DBA" does not exist. <#1>**
**INFO[E] 2008-03-01 14:17:05**
**Account group="ORA_GOK_OPER" does not exist. <#1>**
**INFO[E] 2008-03-01 14:17:23**
**Account group="SAPSRV\dbgokctl" does not exist. <#1>**
**INFO 2008-03-01 14:19:23**
**Copying file C:/SAP Dumps/Core Release SR1 Export_CD1_51019634/DB/ADA/DBSIZE.XML to: DBSIZE.XML.**
**INFO 2008-03-01 14:19:23**
**Creating file C:\SAPinst SAPDB SAPINST\DBSIZE.XML.**
**INFO 2008-03-01 14:19:23**
**Copying file system node C:\SAP Dumps\Core Release SR1 Export_CD1_51019634/DB/ADA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.**
**INFO 2008-03-01 14:19:23**
**Processing of all file system node operations of table tADA_Files succeeded.**
**WARNING 2008-03-01 14:19:24**
**Error 2 (The system cannot find the file specified.) in execution of a 'RegOpenKeyEx' function, line (274), with parameter (SOFTWARE\SAP\SAP DBTech).**
**ERROR 2008-03-01 14:19:24**
**MDB-07003 Exception occurred during Actor Call (Action READ_PROFILE_INFO).**
**ERROR 2008-03-01 14:19:24**
**MDB-07000 Execute Action READ_PROFILE_INFO failed.**
**ERROR 2008-03-01 14:20:47**
**MSC-01003 ESyException: ESAPinstException: error text undefined**
**ERROR 2008-03-01 14:20:47**
**FJS-00012 Error when executing script.**
**ERROR 2008-03-01 14:20:47**
**FCO-00011 The step fillR3loadPackageTable with step key SAPSYSTEM|ind|ind|ind|ind|ind|0|SAPComponent|ind|ind|ind|ind|ind|0|DatabaseLoad|ind|ind|ind|ind|ind|0|fillR3loadPackageTable executed with status ERROR.**
**ERROR 2008-03-01 14:20:47**
**FSL-02015 Node C:\SAP\DATA does not exist.**
Kindly let me know the solution to correct the error. Its urgent pls !!!
Regards,
Rose.Hello,
The problem is caused due to the spaces in your directories
C:\SAP Dumps\Core Release SR1 Export_CD1_51019634/DB/ADA/DBSIZE.XML
Replace the spaces with underscores and restart the installation from from scratch.
Cheers
Bert -
hello experts,
I have a requirement in the project .There is a programme which creates new hire sap account in sap r/3 manully in production server .Currently this programme SKIPS INFOTYPE 105 Subtype 0001.The requirement is mentioned below.we are not using logical database pnp. can ane 1 kindly help me regarding this . I am new to hr module.waiting for a response at your ealieast convinience.as this is very urgent .
When a future new hire is already created in PRD manually by UAS, currently program ZAHR270D skips adding the infotype 105 subtype 0001. Modify program so if a future new hire's SAP account already exists in PRD, then: 1). search through each subtype in SU01 and complete any missing data, and 2). create the infotype 105 subtype 0001.
regards
Prasun RudraHi Prasun,
I think you can go through the existing program ZAHR270D and modify it by checking for the condition(if a future new hire's SAP account already exists),and then use FM HR_INFOTYPE_OPERATION for updating IT0105 Subtype 1.
Try it and see if helpful.
Reward if helpful. -
HI Experts,
I am working on WD for ABAP.
I am using a tree to display some data. Node1 points to Root and subnode1 point to node1.
node1-->root
subnode1--> node1
When we expand node1, it shows ">" (arrow) for child nodes.
and if we further expand chld node(sunbnode1) we can see "." (Dot)
As per my requirement IF the node1 does not have any value for subnode1 than node1 should not show ">" , istead of that it should how "." for that child node.
could anyone plz tell me ....
1)how can I solve this.
2)How to use recursive node. I have never used recursive nodes.
PLease reply ASAP. Its very urgent.
for helpfull answers full points would be rewarded.
Regards,
Vishal.Hi,
When you work on Tree, you should remember 4 important attributes.
expanded, parent row key, row_key and is_leaf.
To add children to parent we will have to maintain the relationship between row_key of PARENT and parent_row_key of CHILD.
if row_key = 1, then parent_row_key shoud be eqaul to row_key of parent, so that the corresponding childs will get added to parent.
if u put is_leaf = 'X'., then it means that they bcome childs(no longer exapndable ".")
and when u expand a parent, then expand = 'X'.
Provide Reward points.
Rewards,
Maybe you are looking for
-
Com.sap.tc.webdynpro.services.session.LockExceptio
Hi, From my WD Java application, i'm calling some URL and displaying the content from that in my WD application. The performance of this is very slow and it seems to be hang for some time. Portal version is 7.0 and patch is SP 18. When i checked the
-
Vendor Withholding Tax records Errors
Dear Friends, When analysing an invoice, I got the following errors. 1. Vendor has multiple w/h tax records. what is the Transaction code when i view the multiple w/h tax records? 2. Invoice must be evaluated to determine withholding tax amounts Ple
-
How to Send Emails for failed messages without using Alert
Hi Experts, In our project, we need to trigger Emails for the failed messages in SXMB_MONI / Adapter Engine without using Alert Framewrok. Please let me know the below : 1. Is this really possible to avoid Alert? 2. If possible, then can we accomplis
-
10 g report to Excel Format (Easiest way)
hi how can i show a 10 g report in to excel sheet in single Click.. thanks and regards Message was edited by: vivekvm
-
When I setup my ipad, I didn't install pages and numbers. How do I get them installed now?