IGS Config Problem: ListenerRfc::Abort - Help Please!
Hello,
I've been working with getting IGS installed and working and can't figure out what's wrong. the install came back successful. I've gone through and fixed, and tested, my SM59 definitions. Gone through OSS and looked at the recommended notes, etc. (all the usual stuff). Now I'm getting desperate!)
Here's the message our app gets via the www query trying to get graphs:
"IGS: Error When Calling Up IGS (ListenerRfc: unknown error)"
Here's what I've done to date:
1. re-installed it (on my BW C/I - same host - which is an ABAP instance ONLY)
2. corrected the default SM59 defintions (set them to what's spec'd in the igs.xml file) and tested them out.
3. manually started and stopped it
4. In troubleshooting the MUX - here's what I get from the log mux_"sap-bid1.trc"
[Thr 3342] Sat Dec 24 10:49:08 2005
[Thr 3342] [ListenerRfc::Abort] Aborted
[Thr 3342] [ListenerRfc::Cleanup] Cleaned up
[Thr 258] [ListenerRfc::DispatchRfc] returned with Abort()
Which tells me my ListenerRfc isn't "hearing" the request for graphics yes?
So how to I configure it - ListenerRfc - if that is indeed the problem?
Resolved - AFTER IGS patch 10 application, IGS was looking for gfwchart (versus gfwchart.tpl - see below)
Fixed it by renaming the file...
sap-bid1:bidadm 10> more chart_11054d91098584_5.trc
Can't find config file /usr/sap/BID/DVEBMGS00/igs/conf/gfwchart
sap-bid1:bidadm 11> cd /usr/sap/BID/DVEBMGS00/igs/conf/
sap-bid1:bidadm 12> ls
dev_sapstart gfwchart.tpl igs.xml xmlchart.tpl
Similar Messages
-
How do I change DNS to Business Catalyst servers. I am having problems can anyone help please?
What problem are you having?
Have you read this KB? - Domain name and DNS: Quick reference -
Quick time 7.1.3 problem...help please...
I recently installed Quick time version 7.1.3...and iTunes 7 onto my computer. I have since tried to load a game that I recently purchased for my child (DK's Milo and the Magical Stones). It does not work. (The message that I get says "Director Player Error. Property not found. # duration") I e-mailed the manufacturer and they stated that I need to use the version of Quick time that is on the game disk (not quite sure which version it is since it will not allow me to load it). The old version will not load because it recognizes that I have a newer version of it on my computer. And if I could accomplish this...iTunes will work now without Quick time 7 now...so it is pointless. Help please! This must be happening to a lot of people I imagine...
A extremely kind and thoughtful individual gave me these instructions.
Okay, let's try getting a crash log for itunes and sending it to the Apple Engineers.
Typically, you'll need to configure Dr. Watson on your PC in order to generate crash logs. Windows start menu -> Run. Type in "cmd". Hit return. At the prompt in the command line window that comes up, type in
drwtsn32 -i
And hit return.
This will create crash logs in Documents And Settings\All Users\Application Data\Microsoft\Dr Watson\. There'll usually be a file in here called "drwtsn32.log"prior to collecting the itunes crash log, delete any existing crash logs in there. (we want to make sure we send the correct crash log.)
Launch itunes, collect the crash log, and send it to [email protected]
In the email:
(1) state the precise version number of itunes that you're using.
(2) include the URL to this thread so that the person who gets the email has some context, but also give as much information about the context of the crashing as you can.
I sent off this morning and am awaiting a reply. As soon as I hear back I will update this posting. -
I can't delete my bt emails or move them to folders, other emails from tiscali no problem with, anyone help please
I did that and it is currently whirring away, had over 16000 emails as everything got imported when I set emails up (only had this computer 5 days). So will see what happens when it stops doing whatever it is doing. Sorry if I appear stupid but first Mac I have owned so everything a bit new. Have managed to get most things working correctly just can't sort this BT email problem out. Will report back later!
-
2.2.1 problems - can anyone help please?
I downloaded this new update last night and now I cannot sync music with my 2ng gen ipod touch. If I download a game from IT store I can sync this but it does not recognise any changes to my music folders etc. I have tried restoring ipod touch to factory setting (as suggested in previous topics) but when I sync it it is only recognising games and photos - I now have no music on ipod!! Can anyone help please!!??
Have tried:
1. iTunes restore repeatedly - it never finishes and I get error 1604
2. Tried alternative usb ports
3. Tried alternative pcs - both xp and vista
4. Uninstalled itunes, cleared registry, rebooted and reinstalled itunes
Still no change. If I went into Apple and booked a Genius appointment could I pay £140 for a new phone? -
Major start-up problems on IMac - Help, please
My IMac, new in Nov. 2008 and running OS 10.5.5 has been having trouble starting up and staying running over the past 10 days or so. I frequently get freeze-ups and get the grey screen with the flashing folder with a question mark during start-up attempts. I have tried various remedies I got on forums or in the Everything Mac manual including:
unplug and restart
remove peripherals and restart
safe boot
Reset PRAM
Reselect Start-up Disk
Permissions Repair through Disk Utility
Verify Disk through Disk Utility
I ran the hardware test and it said the hardware was OK.
By doing one or another of these methods I can generally get the machine going again (sometimes very slowly and after a few tries), but the freeze-up and restart problems are persisting and getting worse. Today I tried to reboot using the Installation Disk, but it just ejected the disk.
I have Windows XP running with Paralels - don't use it often. Last time I tried it said something about a Fatal Error.
I have backed up most of my important data. I was planning to buy an external hard drive to back up the rest, but I'm not sure I'll be able to complete this at the rate things are going.
Advice, please? Should I just break down and take it to the Apple Store?I wanted you to know I have been using Apple computers for over 2 decades now and this iMac was the biggest headache EVER!..it would even turn ME to a PC but I have other plans.How many times I had to carry this thing 15 blocks and then they had the NERVE to hand it back to me,once all they did was reinstall the software, I could have done THAT AT HOME!..once the manager of the store hands it back to me,"ALL PROBLEMS SOLVED"!..well they were not..from day one, this was a "LEMON" and no one seems to care, not one person I speak to, not one person in that store....I know computers pretty well, I don't know HOW to write programs but anything other than that, people come to TONY with their problems before Apple Genius bar..what a JOKE that turned out to be!..so here I sit with an iMac,the insurance had run out the day the HARD DRIVE of this iMac decides to stop working...I have NEVER in my life had a dard drive break completely because I am not a heavy user of my computer, no games..and now it's down to emails and my blogs..Apple has changed me but in the wrong direction sadly..I am and always will be an Apple person...I can visit ALL my old Apple comp0uters because when I get a new one, I give my neighbors the old ones..they are STILL WORKING lemom iMac just to check emails and see if I can get it to work but I will tell you the bad sign,very first year I had it, I threw out the box it came in,I live in NYC and as I am taking a walk, a guy is throwing out the box to the SAME iMac..and THEN came the discussion with him about the numerous PROBLEMS On the NEW iMAC!!..I knew right there ,besides me knowing already, it was one big lemon I was stuck with till the end...well the END has finally,thank the gods, come!...and my next computer will be an Apple but not for STYLE, I always went for their great design but Apple has their head so far up an appendage and all about this iPad and iPhone and then the computers come next....believe me, when they sell that many iPhones and iPads...little is done for the real computer customers..and I have NEVER used a cell phone, never had the use for it, so NO iPhone and no iPad cause i love my Kindle...but I will tell you ,I am designing my next Apple computer and it will be that TOWER and then any size screen,maybe two for some reason...and all wireless if possible..but that tower is the ONLY way to go for me but I will use it "low end" not for a business and it's not that ugly and can always be put on the floor BUT YOU DESIGN AND TELL THEM, what you want in it, so you have total comtrol..the screen does NOT even have to be an Apple...but money money drives this company now, while in the past it was the true happy customer THAT MATTERED!! no more...hope you stay with Apple, get a PC(borrow one) and work with it, if you have not cause this iMac is NOT the way an Apple computer should act and turn you off to our community...and that's the other thing, Apple users, used to be a "community" cause we were the "small company that didn't make it"!...so we all stuck it out for so many years....helped each other out
Cheers..
Tony(NYC) -
Facetime problem?! Help please
Hello,
I have a macbook pro and a Iphone 4, and I'm having trouble to conect via facetime.
No problem doing facetime betwin two iphones.
My iphone connects to my brother's imac and vice-versa.
But my macbook pro make the call to Iphone, the Iphone rings but when I answer it doesn't connect at all.
When trying to call my macbook it doesn't ring at all.
It seens to be a probelm in my macbook, but I don't know how to solve it.
Please help me guys...Using Facetime
http://support.apple.com/kb/ht4319
Trouble-shooting Facetime
http://support.apple.com/kb/TS3367 -
MSS Iview Problem -Any Experts help please
I've configured ESS BP in my Portal successfully and it's running perfectly fine. Now i've imported MSS also without any problems. Now the issue is when i'm launching the My Staff iViews it gives me a message "Could not connect to the R/3 System" . These iViews using the system object "SAP_R3_HumanResources" which has been used by the ESS iViews also. Now ESS iViews are working fine with the same system object but MSS iviews are giving me the error message.
My System landscape :
MSS BP Installed: BPMSS601_19-20001489
R3- 4.6C
Portal : EP6 Sp11
WAS: 6.40
ITS - Standalone ( Not integrated)
when i test my System object for ITS ,it is working fine , but it is failed for WAS Connection and Connector test
Any help will be highly appreciated.Hi Umair,
Thanks for your response, i am getting same error for all iviews.I pointed that there is some problem with my System object, i tried to test connection for the "Connection Test for Connectors" i am getting following error.But Connection test is success for the "ITS Connection"
com.sap.mw.jco.JCO$Exceptionoccured->Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=XXXX SYSNR=00 GWHOST=XXXX GWSERV=sapgw00 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service '?' unknown TIME Wed Aug 30 16:42:35 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 COUNTER 11
my understand is , ESS is working fine for me because ,ESS iviews are IAC's based iviews which are running on ITS(ITS connection is working fine for me),
i think some problem with connectors(jco).....could you please suggest me.
Thanks
Aravinda -
FTP problems with CS5 - Help please
I volunteer helping charity and education organisations with their websites. One of my clients has just bought CS5 - I personally am still working on CS3 - so when I went to help them download their site first of all the set-up was quite different (why do companies fix things that aren't broken), but I got over that issue and managed to connect to the site, download and make a couple of changes. All was well!
Two days later I went back, because they were having problems and I couldn't connect to the server.... Well, when I was on the main Dreamweaver screen the computer said it was connecting and made all the right moves uploading files etc, but nothing on the website changed, so goodness knows where the files were going. When I went onto the screen showing local and remote files, on the server side there was just a message saying you can't upload unless you set up a control version and the little blue plug was just greyed out.
I don't want or need to set up a control version as it is just one person dealing with this site from one computer.
As this is the first time I have come across 'subversion' or SVN I am a little confused. I have sent an email to the hosting company to make sure it is not a problem with their server, but won't get a reply until Monday so I thought that over the week-end I would just ask all you out there....
Help!!DW is more than capable of managing your FTP tasks on its own. Please tell us - when you connect to the remote site and then LOOK at the Remote side of the Files panel, what FOLDER names do you see? As an ancillary question, what do you have in the Root Directory field of the Remote site definition?
-
HP Pavillion HPE H8-1270 - Blue Screen on Start Up Problem.. Help Please!
I don't often turn my pc off, as I know they don't like it BUT today I did & to my horror, when I turned back on I got the dreaded Blue Screen! Driver light is non responsive, won't read a disc, can't F11 to Safe Mode.. NIGHTMARE! I use Acronis as a Back Up (as well as external drive) but can't even get to that! Had no previous warning that there were any errors etc so really don't know what has happened or what the problem could be. Maybe Hard Drive failure? Even if the **bleep** thing decides to come on, I will be worried that this will happen again! Any suggestions? Thanks in advance...
Hi Debs_x, Sorry to hear that you are getting a blue screen on your computer. Here is a link that I think may help you with this issue. http://www.youtube.com/watch?v=LuuntMjebwU
If you have any other questions, please feel free to respond.
Thank you
Waterboy71
Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
W a t e r b o y 71
I work on behalf of HP -
Weird Problem with X6, help please!
I have got this weird problem with my nokia X6, it's display shows lines and merged colors when turned on. It started happening after I got my Nokia X6 fixed for broken screen, 15 days later after getting it fixed it started showing such display. I figured out somehow to unlock my phone while in such display horror and figured that opening a heavy app like OVI store brings back mobiles display. I don't want to send same people my mobile again. Just want to know what can be done to fix this problem. PLease Help!
Yeah, it was a nokia care center. Anyway I fixed the problem luckily. It just needed some updates. I never thought not updating can cause this problem.
-
Bit of a problem need some help please
import java.io.*;
class IO
public static void main(String args[])
String sOutString = "";
int iRecordLength = 0;
int iWork=0;
int[] array = new int[21];
try
// creat input file, buffer.
FileInputStream fis = new FileInputStream("myInFile.txt");
BufferedInputStream bis = new BufferedInputStream(fis);
DataInputStream dis = new DataInputStream(bis);
// Create an output
String fileName = "myOutFile.txt";
File myOutFile = new File(fileName);
FileOutputStream outStream = new FileOutputStream(myOutFile);
PrintWriter out = new PrintWriter(outStream);
out.println ("This is the header record");
String record = null;
while ( (record=dis.readLine() ) != null )
String sTest = "";
sTest = record;
if (iWork==0)
iRecordLength = sTest.length();
sOutString = sTest.substring(0, iRecordLength);
System.out.println(sOutString);
out.println (sOutString);
System.out.println(sTest.substring(0, 5));
out.close();
// System.out.print ("\n");
catch (IOException e)
System.err.println("File Error; " + e);
System.out.println("");
System.out.println("Ended");
System.exit(0);
// use get chars w substring
Ok theres my code what im trying to do is substring my in file so that it will take a section of it out and put the rest in
an out file. The problem is that my in file has a few lines and i do not know how to dubstrin g different linec can anyone help me?Well,
I took the liberty of rewriting your code to make it readable, and expurgated most of the carp... what you've got there boils down to a really complicated-azzed implementation of cat.
package forums;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
class FileCatterator {
public static void main(String args[]) {
BufferedReader input = null;
PrintWriter output = null;
try {
input = new BufferedReader(new FileReader("FileCatterator.java"));
output = new PrintWriter(new BufferedWriter(new FileWriter("FileCatterator.txt")));
String line = null;
while ( (line=input.readLine()) != null ) {
int len = line.length();
String substring = line.substring(0, len);
System.out.println(substring);
output.println(substring);
} catch (Exception e) {
e.printStackTrace();
} finally {
if(input!=null)try{input.close();}catch(IOException e){e.printStackTrace();}
if(output!=null)output.close();
}The substring doesn't do anything.
Now, What did you need it to do? Print the first so-many characters of each line or something? -
Total Inventory Line Problem...Help Please
I am creating a Inventory Program for my Java class. I have gotten all of the program to pull to the GUI I created but one. For some reason my total inventory calculation will not pull to the GUI. Can anyone help me find the problem within my code. Here is both the main program and my buttonframe. If the other two parts are needed just let me know. It will all compile, just the label were the total inventory goes is still at zero it will not put the number in the box. I will be forever grateful for any help or tips in fixing the problem. Thanks
// Inventory4.java
// Program will track total inventory items in stock.
import java.io.*;
import javax.swing.JFrame;
public class Inventory4 {
// shared BufferedReader for keyboard input
private static BufferedReader stdin = new BufferedReader( new InputStreamReader( System.in ) );
// shared BufferedReader for keyboard input
private static int totalCount = 5;
/** Create a new instance of Main */
public Inventory4() {
double unitPrice; // Unit price of each item
double quantityStock; // Number of items in stock
double inventoryValue; // Place holder for calculated inventory value
double totalInventory; // Place holder for calculated total inventory value
int itemNumber; // Item Number
String itemName = ""; // Name of each item
//Main Method begins execution of program
public static void main(String[] args)throws IOException {
// Declare an array of classes
SubItem myItem[];
// Declare number of arrays
myItem = new SubItem[5];
// Declare an array of my item classes
// Create a new instance of the class Item
myItem = new SubItem[5];
// Create an instance of my item classes
myItem[0] = new SubItem(1.79,24,4,1,"Breads");
myItem[1] = new SubItem(3.49,15,3,2,"Dairy");
myItem[2] = new SubItem(6.49,20,9,3,"Meats");
myItem[3] = new SubItem(0.25,31,12,4,"Can Goods");
myItem[4] = new SubItem(2.59,37,7,5,"Produce");
// Call print method
printArray(myItem);
// Call sort array
myItem = sortArray(myItem);
System.out.println(" Inventory List Sorted by Items \n\n");
printArray(myItem);
// Call the GUI constructor and pass array and totalcount
ItemButton itemButton = new ItemButton(myItem,totalCount); // Make ItemButton
itemButton.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
itemButton.setSize( 350,390 ); // Window size
itemButton.setVisible( true ); // display window
} // End Main Method
/// Start PrintArray Method ///
private static SubItem[] printArray(SubItem[] myItem) {
double totalInventory = 0;
double restockingFee = 0;
// Start Loop
for (int i = 0; i<5;++i) {
System.out.println("\n The Item Number is " + i + myItem.getItemNumber() );
System.out.println("\n Item Name is " + myItem[i].getItemName() );
System.out.println("\n Quantity in Stock is " + myItem[i].getQuantityStock() );
System.out.println("\n Inventory Write-off is " + myItem[i].getInventoryWriteoffs() );
System.out.println("\n Inventory Value is $" + myItem[i].computeinventoryValue());
totalInventory = totalInventory + myItem[i].computeinventoryValue();
restockingFee = totalInventory + myItem[i].computeRestockingFee();
} // End For Loop
System.out.println("\n Total Value of all inventory is " + totalInventory);
System.out.println("\n Total Value of all inventory with restock fee $" + restockingFee);
return myItem;
} // End PrintArray Method
/*** Bubble Sort Algorithm ***/
private static SubItem[] sortArray(SubItem[] myItem) {
// Create temporary place holder
SubItem temp = new SubItem();
// Counters for Sort are I and J
int i, j;
int array_size = 5;
for (i = (array_size - 1); i >= 0; i--) {
for (j = 1; j <= i; j++) {
if (myItem[j-1].getItemName().compareTo(myItem[j].getItemName()) > 1) {
temp = myItem[j-1];
myItem[j-1] = myItem[j];
myItem[j] = temp;
} // End if
} // End inner for loop
} // End outer for loop
return myItem;
} // End Method
} // End Class
// ItemButton.java
// This will create GUI buttons.
// Display the Items.
import java.awt.FlowLayout;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JFrame;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;
import javax.swing.SwingConstants;
public class ItemButton extends JFrame {
private JButton nextJButton; // text button
private JButton prevJButton; // icon button
private JLabel lblItemName; // text field with set size
private JTextField txtItemName; // text field constructed with text
private JTextField textField3; // text field with text and size
private JLabel lblItemNumber; // text field with set size
private JTextField txtItemNumber; // text field constructed with text
private JLabel lblUnitPrice; // text field with set size
private JTextField txtUnitPrice; // text field constructed with text
private JLabel lblQuantityStock; // text field with set size
private JTextField txtQuantityStock; // text field constructed with text
private JLabel lblInventoryWriteoffs; // text field with set size
private JTextField txtInventoryWriteoffs; // text field constructed with text
private JLabel lblcomputeRestockingFee; // text field with set size
private JTextField txtcomputeRestockingFee; // text field constructed with text
private JLabel lblcomputeinventoryValue; // text field with set size
private JTextField txtcomputeinventoryValue; // text field constructed with text
private JLabel lblcomputetotalInventory; // text field with set size
private JTextField txtcomputetotalInventory; // text field constructed with text
// Class variable of the SubItem array I passed
SubItem[] arraySubItem;
private int currentArrayCounter;
private int arrayCount;
// ItemButton adds JButtons to JFrame
public ItemButton(SubItem[] myItem, int totalArrayCount) {
super ( "Inventory" );
arraySubItem = myItem;
// Setting variable totalArrayCount
// to class arrayCounter
arrayCount = totalArrayCount;
currentArrayCounter = 0;
// Current array position 0
setLayout( new FlowLayout() ); // set frame layout
// Load the next and previous icons
Icon iconNext = new ImageIcon( getClass().getResource( "" ) );
Icon iconPrev = new ImageIcon( getClass().getResource( "" ) );
// Construct textfield with default text and 15 columns
lblItemName = new JLabel( "Item Name ");
add( lblItemName ); // textField3 to JFrame
txtItemName = new JTextField( "", 15 );
add( txtItemName ); // add textField3 to JFrame
lblItemNumber = new JLabel( "Item Number ");
add( lblItemNumber ); // textField3 to JFrame
txtItemNumber = new JTextField( "", 15 );
add( txtItemNumber ); // add textField3 to JFrame
lblUnitPrice = new JLabel( "Unit Price ");
add( lblUnitPrice ); // textField3 to JFrame
txtUnitPrice = new JTextField( "", 15 );
add( txtUnitPrice ); // add textField3 to JFrame
lblQuantityStock = new JLabel( "Quantity Stock " );
add( lblQuantityStock ); // textField3 to JFrame
txtQuantityStock = new JTextField( "", 15 );
add( txtQuantityStock ); // add textField3 to JFrame
lblInventoryWriteoffs = new JLabel( "Inventory Write-Offs " );
add( lblInventoryWriteoffs ); // textField3 to JFrame
txtInventoryWriteoffs = new JTextField( "", 15 );
add( txtInventoryWriteoffs ); // add textField3 to JFrame
lblcomputeRestockingFee = new JLabel( "Restocking Fee ");
add( lblcomputeRestockingFee ); // textField3 to JFrame
txtcomputeRestockingFee = new JTextField( "", 15 );
add( txtcomputeRestockingFee ); // add textField3 to JFrame
lblcomputeinventoryValue = new JLabel( "Inventory Value " );
add( lblcomputeinventoryValue ); // textField3 to JFrame
txtcomputeinventoryValue = new JTextField( "", 15 );
add( txtcomputeinventoryValue ); // add textField3 to JFrame
lblcomputetotalInventory = new JLabel( "Total Inventory ");
add( lblcomputetotalInventory ); // textField3 to JFrame
txtcomputetotalInventory = new JTextField( "", 15 );
add( txtcomputetotalInventory ); // add textField3 to JFrame
// Create the buttons
nextJButton = new JButton( "Next" ); // button with Next
prevJButton = new JButton( "Previous"); // button with Prev
add(prevJButton);
add(nextJButton); // add plainJButton to JFrame
// Create new ButtonHandler for button event handling
ButtonHandler handler = new ButtonHandler();
nextJButton.addActionListener( handler );
prevJButton.addActionListener( handler );
// SetTextFields to set the text fields
setTextFields();
} // End ButtonFrame constructor
// inner class for button event handling
private class ButtonHandler implements ActionListener
// handle button event
public void actionPerformed( ActionEvent event )
// Which button was pressed
if (event.getActionCommand()== "prevJButton") {
currentArrayCounter++;
else {
currentArrayCounter++;
setTextFields();
} // End Method ActionPerformed
} // End Private inner class ButtonHandler
private void setTextFields()
// Check to see if the end of array was past
if (currentArrayCounter == arrayCount)
currentArrayCounter = 0;
// Check to see if the first was past
if (currentArrayCounter < 0)
currentArrayCounter = arrayCount;
txtItemName.setText(arraySubItem[currentArrayCounter].getItemName());
txtItemNumber.setText(arraySubItem[currentArrayCounter].getItemNumber()+"");
txtUnitPrice.setText(arraySubItem[currentArrayCounter].getUnitPrice()+"");
txtQuantityStock.setText(arraySubItem[currentArrayCounter].getQuantityStock()+"");
txtInventoryWriteoffs.setText(arraySubItem[currentArrayCounter].getInventoryWriteoffs()+"");
txtcomputeRestockingFee.setText(arraySubItem[currentArrayCounter].computeRestockingFee()+"");
txtcomputeinventoryValue.setText(arraySubItem[currentArrayCounter].computeinventoryValue()+"");
txtcomputetotalInventory.setText(arraySubItem[currentArrayCounter].computetotalInventory()+"");
} // End class ItemButtonI am sorry guys,
When I run the program all labels are in place and data appears where it is suppose to be...but the total inventory line. The label for the total inventory is there, but where the data is suppose to be all it will put there is 0.0. It will not put in the dollar amount. I know the problem is with the GUI, because before I started with the buttonFrame and it was compiled it would give me me the dollar amount for the Total Inventory. Here is the rest of the code.
// Item.java
// Program Starts Item Class
public class Item {
private double unitPrice;
private double quantityStock;
private int inventoryWriteoffs;
private double inventoryValue;
private double totalInventory;
private int itemNumber;
private String itemName;
/** Create a new instance of Item Name */
public Item(double UnitPrice,double QuantityStock,int InventoryWriteoffs,int ItemNumber,String ItemName) {
itemName = ItemName;
itemNumber = itemNumber;
unitPrice = UnitPrice;
quantityStock = QuantityStock;
inventoryWriteoffs = InventoryWriteoffs;
} public Item() { }
// Set for Name
public void setItemName(String ItemName) {
itemName = ItemName;
// Set for Item Number
public void setItemNumber(int ItemNumber) {
itemNumber = ItemNumber;
// Set for Unit Price
public void setUnitPrice(double UnitPrice) {
unitPrice = UnitPrice;
// Set for Quanity Stock
public void setQuantityStock(double QuantityStock) {
quantityStock = QuantityStock;
// Set for Inventory Write-Offs
public void setInventoryWriteoffs(int InventoryWriteoffs) {
inventoryWriteoffs = InventoryWriteoffs;
// Get for Name
public String getItemName() {
return itemName;
// Get for Item Number
public int getItemNumber() {
return itemNumber;
// Get for Unit Price
public double getUnitPrice() {
return unitPrice;
// Get for Quantity Stock
public double getQuantityStock() {
return quantityStock;
// Get for Inventory Write-offs
public int getInventoryWriteoffs() {
return inventoryWriteoffs;
// Compute Inventory Value Method
public double computeinventoryValue() {
return quantityStock * unitPrice;
// Compute Total Inventory Method
public double computetotalInventory() {
return totalInventory = totalInventory + inventoryValue;
public String toString() {
return (itemName);
// SubItem.java
// Sub class to main program
public class SubItem extends Item {
private int inventoryWriteoffs;
private double restockingFee = .05;
public SubItem(double UnitPrice,double QuantityStock,int InventoryWriteoffs,int ItemNumber,String ItemName) {
setUnitPrice(UnitPrice);
setQuantityStock(QuantityStock);
setItemNumber(ItemNumber);
setItemName(ItemName);
inventoryWriteoffs = InventoryWriteoffs;
// Empty
public SubItem() {
// Set for Inventory Write-offs
public void setInventoryWriteoffs(int InventoryWriteoffs) {
inventoryWriteoffs = InventoryWriteoffs;
// Get for Inventory Write-offs
public int getInventoryWriteoffs() {
return inventoryWriteoffs;
// Method to compute Restocking Fee
public double computeRestockingFee() {
return ((getUnitPrice() * getQuantityStock()) * restockingFee);
Thanks again for any help. -
Ipod photo - serious music transfer probleme. i need help please
hi there.
i have a problem that i cant resolve.
i search and ask on french forum, but nobody could help me.
actually, my ipod didnt want me to upload files over 6 minutes.
an error message box used to pop up on itunes each time the delay of about 6 minutes music transfering exceed.
here is the msg box:
http://fr.audiofanzine.com/img/membres/normal/6/9/69236.png
he told me that itunes couldnt read/write onm my ipod.
that's false cause he could upload <6 minutes music transfering time.
anyway i reeset my ipod, update it with ipod updater.
and the problem is still the same.
i still get this message.
i tried with many kind of music, coming from diferent HD, but nothing to do.
i tried to find a help from apple, but this stupid website is made for you not to find a way to contact them.
if someone can help me, i would be glad...
my ears need sounds...If you have already done so, have a look at this Knowledge Base article: "-36 or "Disk cannot be read from or written to" when syncing iPod or "Firmware update failure" error when updating or restoring iPod
If you have no success there I would try restoring your iPod, this will erase the hard drive, reload the software and put it back to default settings so make sure you have all your songs backed up in iTunes. A fresh installation of the software should sort things out: Restoring iPod to Factory Settings -
Photoshop problem, novice requires help please!!
Good morning
I hope I am on the right page here. I am trying to install Adobe Photoshop 2.0 onto my Vista Windows 2000 laptop.
I have tried many times and have been given 2 seperate unlocking codes, but for some reason these codes are not being accepted and a fatal error message like below comes onto my screen.......
Error code 0000005
Address 757ecb8b
Now I'm no techno whizz and I have no idea how to solve this problem. Please could anyone out there provide some advice?
Many thanks in advance
SteveSteveA1968 wrote:
I am trying to install Adobe Photoshop 2.0 onto my Vista Windows 2000 laptop.
Do you mean Photoshop CS2 or Photoshop Elements 2.0?
They are both old.
If the first, where did you buy it?
If the second, ask in the Elements forum.
http://forums.adobe.com/community/photoshop_elements
Maybe you are looking for
-
When I upgraded my OS to OS X 10.9 the computer doesn't connect the LAN automatically after sleep. Could you help me?
-
I accidentally deleted my Recently Added playlist
Hi all! I accidentally deleted my Recently Added playlist. I made a new one with the smart playlist thing but I cannot get any new songs to automatically add to it. Does anyone know how to get songs to automatically add to it? I'm devastated without
-
Getting Channel.Connect.Failed
I'm building a Flex 3 app, with BlazeDS deploying to Tomcat 6.0 I have built/Run the example BlazeDS code with out error. When I try to access my remote bean from my app I get [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend"
-
My iPhoto thumbnails are trashed photos...
... and yet when opened, produce the larger version of photos - in order - not trashed at all. Apologies if this is repeated anywhere; I'm quite ignorant and tend not to fiddle with things hidden (like directories), but I'm at a loss as to what to do
-
I have downloaded this icon set: http://interfacelift.com/icons-mac/details.php?id=1867 I can apply them to anywhere using the "Get Info" method. My problem is that i want those icons as image files but I just couldn't figure out how to do that. The