Question
Please create a graphical java solution to solve the problem found below: Your fellow worker receives files that are very poorly formatted and is hopping
Please create a graphical java solution to solve the problem found below:
Your fellow worker receives files that are very poorly formatted and is hopping that you could help. Each of these files contain a series of floating point numbers that are very tough to read. Here is a sample file (random.txt). [Preview the document] Your task is to process all the numbers in the original file and create a new file that is much easier to read.
The program will need to:
get the original file name (with or without path) from the user. specify the output file name (with or without path). allow the user to set the field width and set the precision (after decimal point). allow the user to set how many columns on each line (must be from 1 to 5)
The new file must not be created until:
the input file actually exists. the destination file does not exist (don't overwrite any file). the field width is specified the precision is specified the number of columns is in the range of 1 to 5.
There will be two files that will need to be uploaded and they can be found in the project folder / src / package folders One will be the source file that contains the class definition of the form as well as the logic that you created. This will have the .JAVA extension. The other file will have the same name but will have the .FORM extension. This file contains information regarding which components are used and their properties that have been set using the designer. Both are required before marking can be done.
0 random Notepad File Edit Fa View Help 4.860 3 12.570 16.8648@ 37.74B4e755 32. 19799 77 19.5409 354.316313847 a4.932 5.0 1.1844 23 6/9.186 423, 149128489 .634084262 8.8// 162.298 1 3e.4 1./08e639| 3.40641591 s'92 23.24 668.634 /93.36811208 881.88 968.689334346 8.81315 354.269749312 7 532 7.1 460.26 4.037 1.55519442 0.941 539.527538137 3.734942 1127.83 5.15152 .5656 2.081 453.04819893 0.35 74B.381528752 413. 712968 5.60 . 138e1398 e. 293 6.724e1 1.55284 5e. 1e01 0.49440 e. 972 762.960 7,5 e. 26'>15 se. 646/265 919.S28924 2.6481 12.049/2 " /33090 /.0/1 11/.8133'3254/ 0.99 0.3254 >9.34965 0.8840/21 32. /05633, 39,54641 61,922 8,1%829916,3406439 , 0.081894 /6,861 4.1, 98 , 864039 962 .9340 77.1???? .382 .91 3125 4.6 4.01 15 633-459 8.1031 448 a.62 2.098837 .783 89.87463 ? 54 842. 8 981-2458 701.057 344 970 .61 5332 26.252 a.1 .71 3 85.54 50473 5.61 846.9321 6 @.24 261 43 24.0189267 7.84 87.5711 .6 35.00 e.8 183.32235 76 8.183 8.952B4967 989.693826975 29.178994 7.553 .2540183 15 29.0 93.37 8.81 9.16652634 5.57684241 871.392359028 .2153557 4 13.73 64.4581 83.8 6#1.585 e. 1194 6.352868 81.572139 6.97016 4,7576 e. 39687287 8.88 893.7953 92.95 7162685 8.195339 2 471.9811160 383.633876120 832.62978 84.95497 655. 27437121 0.12 81.509 21.8074325 0.6 9.365661407 8.496138416 9.6 34.02089 0.943 87.95114 8.448 135.7 079 8.2538465 715 2 776.738 7.7659837 8.20641 63.4940285 956.2561 623 9.1 792-1877412 9 7.93936799 9.8331 894.5545 0 367.6 118 1 1 401.047 29.9529064.9461664 39.8551131 2.759544 564 e. //68662/ /0.580892599 e. 1345248 32.0/59 1 4.0 32./80383 e.6 1.951 /65,52030 5.94//32968 9.45568/2 e. 260 /98.6685 0.848 43.958585 318.434880229 20.4 8.51687038 7.8431 8.827 9,02468 1870 715.8 8.6831 218 410.884 372 94,8 30-32980 3 8.4522 317 -7084025 0.42 2.357477276 91.6 8.5904 1.8@ 703.94 32.67214217 188.8826 e 8.411 73 1.9197822 6.2391 23,53865'957 65, jj)61 / 140.1 8.819S 624 ,0/66194 32.9S />.4292140 /62.03 /3 14 4.31.69680 g41 /9.3910306 ss.33 /41811 /./21 8.2524428 , 162 69. 166149s8/ 0.0/ 3,52652.358066 0.01 94.a 8.615 91 7.a579 .3 993.56 .981 5387 297.161 5681 e.A38 17.556 3.28907 20.85 .39 8.47789464 71.5 5 6.399 71.8867 312.642 8.028451 9.5779773 5.2B1 49.3671126 e.6496 4.3845628 .22605 26./2338366 0.363 0.36563/515 3.86 819,4 30.3 8.69'9 . 38/188 /2,14666 8.462498182 39.5633 /82.6438980 208.36/538579 2.404 1 9.24140 ' 36 /.34 /34-348,2 4.018 251 .97844 5.43490 168.956528733 a.3 19.32 99-22 61.00226870 3.? 448 7.286 524.4A773 0.381398973 84 . 7875562 4-24 9 3.51 3A9 .9690 30.6794 266 183 831. 5167107 9.1 .02657326 9 3.77 9.54642131 795.68797 4 63.11890 414.48854674 3.339827 0.839679 512.2 2.9526 6.11233 0,39 24.557281 0.4136 68.93584992 5.53693170 90.1389 8.872875835 66 8.6639258 91.482678367 67.954284928 22.32314975T 993.0131 5,85763 5.189763084 469.2499835 8.8214130 429.52312 887.8 739.77008 58 3.8 859.581806 0.301568278 261.82 139 8.294858 5.334915 72 696.4242 78.71509 0.252375 8.08748 2. 8.8428788 0.3208689 73.6 1.9894322 250.12 715.92 331.45898 518.62 1 9.761 3272 9.46 675 419.44 543 a. 595 7726 3.9a 26.2 26 1 8.69678 .6e02 98.7 475 0.907ea7567 373.747368 636.6521317 0.1698 678.412214143 8.325182647 3.82348343 18.34 0.3 916.638 636 290.5079754 2.6527829 5.900 191.3341 e. 1 0.03813250 258.9 1.8 9.0/1658652 41,6/88605 g63. 1/068 9.8 4.256131 49.54664 479 987.032349955 1 8.110 0.9637307 97.612301915 58.783287 7.566882 6 118.51909265 39.528 0.1173 75.808688567 7.697 G0.8298 105 280.774080 87.068 59.32632 975.9565 99.68619 0.8629786 e.4312e671 8.5535 31-173642e9 9.45673110 563.92 e.417247989 156.1219496 3.57723949 56.9651 .901 811 9.139062 4.317771 92 96.05713800 1.4 27.345557 5.222883 53.267271441 202.2 7.778177843 441.883 1835 e 28.9 0 2.929a84 8.@6 e.79 8.9763 0.518253 2.017 8.29 9044301 363.75 180.382037316 0.118746688 3 351.63777 11.014334 8./436 .98985864 84,186 184 0.058 11.149 / 8.414 /63 3.50166 //30.133/1/5/ e. 89510/94 96.620 6.9339480 8.43/6/, 9/ e.92/0 4.222832/6 e.960 /4.32 635.01 914, 61088164 7.27745588 5.32179.5176 .12 853.71666 12.81189 22.9859335 6.6 663.08219499 7.305 842.75482 33B.7 909 .6198 .816979 233 6.393781517 393 9.5 9.0838549 7.948 1.690 0.85B63674 3.831087 8.61238 34.874739 29.45 7.663681892 63.162251 0.7771748 58 4.1 825,03839 63 / .1 /40.34 /935 2.809860 9/6, 39 9./3/ 0.4 133.4959001 0.3/31 1388 5.510032858 84361515 8 16. /89260208 e. 1 1664'9 0.8 0.88352 88.035'9 23,1 6/5,934233, 8.306 0.41435154 .5361215 a. 29145553 9-24A74 2?03 la. ??? a.6876004 96.129975 2.13923707 8.09581813 83.638861 5A 40.939 979.874 0.87575 1.912116 59.65518 34.415717 6.7 0.878840 8.4344072 0-256065 9.5 a.499.6 5192691 .4193 752.895372926 1ea.eaea1 1 932.96 378.1764 77.913419753 e. 6582/ .363 12.8//63688 697,6118/ e. 656 /548. /951 9.4436 193.811 .491 229.2 1.7244 /882 814.72187226 591.5 112.32808 36.60322611 8.39 677.712511 217595129 71.38 0.29 25.158 0. 65873 1.1631197 29.302 3.51713 36.3033068 O Type here to search 6:42 AM 2018-02-13
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started