Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

2 plus 2  RSS feed

 
geo bob
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello .. not sure iam lookin in right spot .. but here goes

iam tryin to build a page that will do say box 1 plus box 2 give a totle in a box then take that total and say times it by box 3 then add to box 4 so on her eis a what i have done in excel but i havent a clue in html or java or pho or where ever i need to go with it .. ty


in the example all the blue boxes are like add and minus and times diff values ..



Gear-ratios.jpg
[Thumbnail for Gear-ratios.jpg]
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch
That looks like something which is possible in a JTable, but it sounds very complicated. To replicate a spreadsheet would require you to parse the formulae in the squares, then relate them to data elsewhere. As I said, very complicated. I suspect it would be more work than it is worth.
I shall move you to the Swing forum where JTables are usually discussed.

By the way: Please confirm that geo bob is your real name.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe it would be easier to reuse an existing component like https://jspreadsheet.dev.java.net/ or http://jeppers.sourceforge.net/ ?
 
geo bob
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry for real name i never give that out .. just personal reasons ..

as for the image it doesnt have to look like that ...

here is what iam lookin to do..

this is link

iam just not sure where i would start lol

i found a simple app . but bein iam new very new lol . iam unable to get it to do more then 2 - 2 = 0 lol type thing .. unable to get it to do more then the 3 boxes you see ..

this is more what i lookin to do but few more boxes

here is the basic
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
geo bob wrote:sorry for real name i never give that out .. just personal reasons ..
In which case, please change your displayed name to something which looks real.
 
geo bob
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if what my name is on ehre is more importion then helpping someone .. dont need board ..

take care folks and thank you for will nothing i guess ......

goodbye
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> if what my name is on ehre is more importion then helpping someone .. dont need board ..

and good luck in your working life where standards are required.
even Macdonalds have standards, so I guess you're unemployable.

pity, the answer to your question is so simple
 
Campbell Ritchie
Sheriff
Posts: 55333
157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know it is a bit late, but the reason for the naming policy (which is discussed on the Ranch Office forum) is to maintain a "professional" and friendly atmosphere on the Ranch. Fora where people use names like Jav4h4kkrRoolz often don't have a friendly atmosphere and people feel inhibited from posting.
In fact, if we moderators rule fora "with a rod of iron" the atmosphere improves and more posters are attracted.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!