No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
This program is a GUI shopping menu with text fileds next to item descriptions. My question is about the add method in ShippingCart class. It is called every time an action occurse in a text field, from a GUI class not shown here, where quantity requests are entered. So when … |
|
Re:
When I want to load images, locally, I use use: [CODE=Java]ImageIcon qmarkIcon = new ImageIcon("images/mark.gif");[/CODE] When I run the program through eclipse, everything works fine--all the images load like normal, but when I package the executable .jar and run it in a folder without images/*.gif's, none of the images load..... … |
|
I am trying to modify code for a usb thermometer prob for linux. I have the source code and the makefile used to compile. When i use make to compile, it will compile and work just fine no problem. I am trying to setup eclipse so i can modify the … |
|
In my GUI class I am trying to make an instace of my ToolAction class, which extends AbstractAction. The compiler says [QUOTE]The constructor ToolAction(String, int, PowerPaintDrawingPanel, GeneralPath) is undefined PowerPaintGUI.java line 109[/QUOTE] which means my below attempt make an object of ToolAction does not work beacuse the arguments of my … |
|
I am using Eclipse IDE on ubuntu 8.04, gcc 4.2.3, -masm=intel flag for intel syntax. I am using inline assembly in a C program by using asm();. If I want to [ICODE]mov eax, myVar[/ICODE] will only work if it is a global variable. How can i use local variables? |
|
Re:
how to take computer name in linux I had tried this code in Windows Xp, it's Ok. but while i run in linux i got error "Cannot get computer name java.net.UnknownHostException: comcentos: comcentos" i'm using Centos 5. i have edit in file etc/sysconfig/network NETWORKING=yes NETWORKING_IPV6=yes HOSTNAME=comcentos [CODE] package myPackage; import … |
|
Re:
hi .. plz anyone has an ideas for final projects that can i do it in java? and i hope in computer information system :idea: plezzzz |
|
I need to get a string from the console that is given in hex form like this: 3e900000. Then I need to convert it into bit so I can do bit wise thigns too it to generate the following out put: [QUOTE]3e900000 ==> 2^-2(1 + 2^-3)[/QUOTE] The above is a … |
|
Re:
hi people im hemamalin doing ma 4th yr in software field.. i hve gotta mini project and im wrking upon it. its dat im using java eclipse as ma software and i would like to hve basic pdf documents so dat i can learn from it, it would be kind … |
|
im in uni now taking a 300 leve java class and i dont know much about java so I plan on asking many well thought out questions. |