New programmer - Wavey line
New to Java at University and we are currently modelling flags to learn graphics.
One of the flags has a wavy line/band across the middle. I know that the wavelength is 120 the amplitude is 6 and it is 48 wide. Just not sure what command to use and how to structure it. I had assumed it would be a variation on drawLine or drawString but can't seem to find an answer in documentation. I'm sure it should be quite basic as we are only 5 weeks in. Any help would be appreciated! Thanks
You can use drawPolyline() (by computing many points in the wavy line) or drawArc() (by computing half waves and connecting the arcs).
Similar Messages
-
Two new programmes from differant companies have loaded ok but when I try to use them I get an imediate error message -quit unexpectedly- and the programme closes. What is wrong?
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Step 1
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
Step 2
In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post other kinds of diagnostic report — they're very long and not helpful. -
New $45 Single Line Plan
Hello
Perhaps this is just me but the new $45 single line plan seems like a good deal, relatively speaking, when you compare it to the other major providers and realize the consistency of the Verizon Wireless network. However, this plan is for new customers only and is a single line plan with 250 MB of data. However, when you look at it in a different light it is also a slap in the face to existing customers on the share everything plan. I will use my account as an example.
We are a very light data use family and our four iPhone Family exists on 1GB of data (no data overages). So we pay $160 for all phones + $50 for the 1GB of data. After my employer discount our final pre-tax/surcharge bill is $201.50. That being said if each phone was on this $45 single line plane we would have a pre-tax/surcharge cost of $180 ($21.50 less than current share everything price), and we'd still have basically the same total amount of data, though each phone would be limited to 250MB of data rather than share a pool of 1GB, but since none of our phone have exceed 250MB we'd be likely not run into overage issues.
Sounds great so I should switch all of our phones over to this $45 single line plan, right? Well the plan is for new customers only, so not an option. But the bigger point is this. Verizon just in effect dropped the price of 1GB of data to $20. So, for a similar low use data family such as mine, they will pay $180 for the same unlimited calling, unlimited texts, and 1GB of total data, but my family who has been with Verizon for several years have to pay $201.50 for is basically the same plan except that we can share our 1GB data allowance among our four phones. At that rate a family with 8 smartphones that use up to 250MB each would still be saving money by placing each phone on the single line plan. I thought family/share plans were supposed to save groups money because it ties more individuals to Verizon.
I know that most are not like my family and make use of more data than us. So for example, a family of two, currently on share everything 2GB allowance will have a pre-tax/surcharge cost of $140, but if each line was on the new $60 single line plan that comes with 1GB of data they would have a bill of $120 and they'd pay $20 less than the share everything plan they are on now. However, again this new $60 single line plan is for new customers only, according to the sales person I spoke to the other day.
I am not complaining about the service I receive when using my phone its great and I get service almost everywhere I go, even when camping. I am not complaining about the customer service I receive, because I always have a good experience when I call to speak to a customer service agent. I am not complaining about the subsidized phones I have had over the years, I don't mind the contract that ensures Verizon will recoup the cost of my phone (the phone Verizon paid apple for up front on my behalf). What I am complaining about is the fact that in response to other recent price changes by the other carriers, Verizon made some slight price changes but made these lower prices only available to new customers. In essence Verizon is basically saying, Hey existing customers you have to pay more for your data and services but new customers get to pay less so that we can lure them away from T-mobile, sprint and AT&T. So anyway just my 2 cents (or in this case several dollars) worth as it relates to Verizon's new single line plans relative to the share everything plans. Please feel free to comment and add your thoughts. If a Verizon rep wants to give me the additional $30 off on my family's 1GB data allowance I will take it and be very happy.
BryanI disagree. You can't make judgements about people that you don't know and I have every right to DEMAND excellent Customer Service. . I have been assisted by some very helpful Verizon Customer Service representatives over the 12 years that I have given them my business. However, I have had some very bad ones too especially in their stores. I learned years ago that I could get the best CS by phone and later by using their chat system wen it
came online. Yesterday's experience was horrible in every way though.
I did not fully elaborate yesterday so let me do so now. Before I called Verizon CS, I used their chat system as I always do. The person I chatted
with actually tried to get me to take a $60 per month plan with a ONE YEAR COMMITMENT. I could not believe what I was hearing (reading actually). I
mean really, I could have taken their prepaid plan with NO COMMITMENT and that would have made more sense. I repeatedly asked for the $45 per month plant but was told it would not suit my needs. Then, I was forced to call Verizon where I was told by another CS person that then plan I wanted did
not exist. I still can't get over a CUSTOMER RETENTION SPECIALIST not knowing the services that its company offers. That is inexcusable.
Actually, her manager should be fired for not making sure his/her employees are knowledgeable. Anyway, she tried to shove different plans down my
throat until she finally realized that I knew what I was talking about. Perhaps that is the plan along, you call to get a lower rate and they tell
you it doesn't exist. Then, they offer you all these other plans that might save you a little but give you so much more. Hmm, I may be onto something
there, sounds like Bait and Switch to me. How about you?
This latest adventure has left a bad taste in my mouth. Sure, I have a $45 (before taxes and fees) per month plan now BUT I could have had that long
ago if I switched to another carrier. True, my service might not be as good as with Verizon but my Verizon service isn't that great in my house anyway.
Many of the other carriers don't charge taxes and fees either so their $45 per month plan truly is $45 per month. I will wait anxiously too see what
my final monthly cost will be. Funny, my Customer Retention expert could not tell me what the monthly rate was with taxes and fees included. How can
you not know that?
As a developer who also codes for iOS and Android, I have several different ones laying around for testing. This weekend, I am going to activate one on
T-Moblie and one on Straight Talk and see how the service compares to Verizon. If neither is comparable, I will look at AT&T. I have their
U-Verse service and love the CS I get from them. I may even get a discount for bundling. Either way I am ending my long relationship with Verizon as
soon as I find a replacement.
I apologize for turning this thread into a rant but at the very least I feel purged by getting it out there. -
New DataSources for Line Items from FI-GL, FI-AP, FI-AR
Dear Experts,
Kindly sugest the SAP Note's and SAP Document links on New DataSources for Line Items from FI-GL, FI-AP, FI-AR
for( 0FI_GL_14, 0FI_AR_14, 0FI_AP_14 ). and what is the advantage of using this data sources.
Currently we are using the Data Sources with ( 0FI_GL_4, 0FI_AR_4, 0FI_AP_4 ) and we want to migrate to ( 0FI_GL_14, 0FI_AR_14, 0FI_AP_14 ).
Please sugest in this regard.
Thanks&Regards,
Nagendra prasad.
Edited by: nagendra prasad on Jul 20, 2010 5:12 AM
Edited by: nagendra prasad on Jul 20, 2010 6:05 AMHi
Please find FI_GL_14 related links
[http://help.sap.com/saphelp_nw70/helpdata/en/49/5700570223413085021a8b4ef1087a/frameset.htm]
[http://help.sap.com/saphelp_nw70/helpdata/en/45/4f8e8bbf3f4f63a5dd197ef7d53fa2/frameset.htm]
There is no FI_AR_14 and FI_AP_14. If you want more information directly goto help.sap.com you will find all the details.
Regards
YuvaraajP -
New G/L line item extractor 0FI_GL_14
Hi,
has anyone worked with the new G/L line item extractor 0FI_GL_14 already? I know that this line items extractor uses function module FAGL_GET_LINE_ITEMS and extract structure FAGLPOSBW.
Does anyone have the coding for this function module?
Thanks
ChristianHi,
Please find the code
FUNCTION fagl_get_si_data.
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_REQUNR) TYPE SBIWA_S_INTERFACE-REQUNR
*" VALUE(I_ISOURCE) TYPE SBIWA_S_INTERFACE-ISOURCE OPTIONAL
*" VALUE(I_MAXSIZE) TYPE SBIWA_S_INTERFACE-MAXSIZE OPTIONAL
*" VALUE(I_INITFLAG) TYPE SBIWA_S_INTERFACE-INITFLAG OPTIONAL
*" VALUE(I_UPDMODE) TYPE SBIWA_S_INTERFACE-UPDMODE OPTIONAL
*" VALUE(I_DATAPAKID) TYPE SBIWA_S_INTERFACE-DATAPAKID OPTIONAL
*" VALUE(I_CALLMODE) TYPE RSAZT_CALLMODE OPTIONAL
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT OPTIONAL
*" I_T_FIELDS TYPE SBIWA_T_FIELDS OPTIONAL
*" E_T_FAGLPOSBW STRUCTURE FAGLPOSBW OPTIONAL
*" EXCEPTIONS
*" NO_MORE_DATA
*" ERROR_PASSED_TO_MESS_HANDLER
STATICS:
sd_flag_interface_initialized TYPE boole_d,
sd_counter_datapakid TYPE sbiwa_s_interface-datapakid,
sd_step_extrmode TYPE rsazt_extrmode,
sd_no_more_data TYPE boole_d,
sd_cursor_open TYPE string,
sd_max_lines LIKE sy-tabix,
sd_updmode LIKE i_updmode,
sd_rldnr TYPE rldnr.
DATA:
ld_rldnr TYPE rldnr,
lt_select TYPE sbiwa_t_select,
ls_select TYPE sbiwa_s_select,
ld_syst_date TYPE d,
ld_syst_time TYPE t,
ld_utc_timestamp TYPE timestamp,
lt_select_int TYPE gusl_t_selection,
lt_fields_int TYPE gusl_t_fields,
ld_cursor_flag TYPE flag,
lt_faglpose TYPE faglpose_t.
CASE i_callmode.
WHEN rsazt_c_callmode-selscreen OR
rsazt_c_callmode-selcheck.
not supported yet
WHEN rsazt_c_callmode-extraction.
initialization mode (first call by SAPI) or data transfer mode
IF i_initflag = sbiwa_c_flag_on.
Initialization
Invalid second initialization call -> error exit
IF NOT sd_flag_interface_initialized IS INITIAL.
IF 1 = 2. MESSAGE e008(r3). ENDIF.
MESSAGE ID 'R3' TYPE 'E' NUMBER '008'
RAISING error_passed_to_mess_handler.
ENDIF.
Check for supported update mode
CASE i_updmode.
WHEN sbiwa_c_updmode_full.
WHEN sbiwa_c_updmode_deltainit.
WHEN sbiwa_c_updmode_delta.
WHEN sbiwa_c_updmode_init.
WHEN sbiwa_c_updmode_repeat.
WHEN OTHERS.
IF 1 = 2. MESSAGE e011(r3) WITH i_updmode. ENDIF.
MESSAGE ID 'R3' TYPE 'E' NUMBER '011' WITH i_updmode
RAISING error_passed_to_mess_handler.
ENDCASE.
sd_flag_interface_initialized = sbiwa_c_flag_on.
initialize change pointer
PERFORM initialize_change_pointer.
get relevant ledger.
PERFORM get_relevant_ledger
USING i_isource
CHANGING ld_rldnr.
build selection table
lt_select[] = i_t_select[].
LOOP AT lt_select INTO ls_select
WHERE fieldnm = c_fieldname_rldnr.
IF ls_select-low <> ld_rldnr OR
( ls_select-high <> ld_rldnr AND
ls_select-option = 'BT' ).
IF 1 = 2. MESSAGE e014(r3). ENDIF.
MESSAGE ID 'R3' TYPE 'E' NUMBER '014'
RAISING error_passed_to_mess_handler.
ENDIF.
ENDLOOP.
IF NOT sy-subrc IS INITIAL.
CLEAR ls_select.
ls_select-fieldnm = c_fieldname_rldnr.
ls_select-sign = 'I'.
ls_select-option = 'EQ'.
ls_select-low = ld_rldnr.
APPEND ls_select TO lt_select.
ENDIF.
sd_rldnr = ld_rldnr.
convert timestamp from SYS -> UTC
The TIMESTAMP provided by S-API is always in local time (SYS),
and the timestamp in the FlexGL tables is stored as UTC.
LOOP AT lt_select INTO ls_select
WHERE fieldnm = c_fieldname_timestamp.
IF NOT ls_select-low IS INITIAL.
ld_syst_date = ls_select-low(8).
ld_syst_time = ls_select-low+8(6).
CALL METHOD cl_abap_tstmp=>systemtstmp_syst2utc
EXPORTING
syst_date = ld_syst_date
syst_time = ld_syst_time
IMPORTING
utc_tstmp = ld_utc_timestamp.
ls_select-low = ld_utc_timestamp.
ENDIF.
IF NOT ls_select-high IS INITIAL.
ld_syst_date = ls_select-high(8).
ld_syst_time = ls_select-high+8(6).
CALL METHOD cl_abap_tstmp=>systemtstmp_syst2utc
EXPORTING
syst_date = ld_syst_date
syst_time = ld_syst_time
IMPORTING
utc_tstmp = ld_utc_timestamp.
ls_select-high = ld_utc_timestamp.
ENDIF.
MODIFY lt_select FROM ls_select.
ENDLOOP.
convert selection into internal format
PERFORM convert_selection
USING lt_select
CHANGING lt_select_int.
convert fieldlist into internal format
PERFORM convert_fieldlist
USING i_t_fields[]
CHANGING lt_fields_int.
sd_max_lines = i_maxsize.
sd_updmode = i_updmode.
initialize database selection
CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
EXPORTING
i_block_data = 'X'
i_block_size = sd_max_lines
i_selection = lt_select_int
i_fieldlist = lt_fields_int
i_initflag = i_initflag.
ELSE. "data extraction
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
REFRESH e_t_faglposbw.
IF sd_counter_datapakid = 0.
sd_step_extrmode = rsazt_c_extrmode-db.
ENDIF.
IF NOT sd_no_more_data IS INITIAL.
RAISE no_more_data.
ENDIF.
CASE sd_step_extrmode.
WHEN rsazt_c_extrmode-archive.
not supported
WHEN rsazt_c_extrmode-db.
database selection
IF sd_cursor_open IS INITIAL OR
sd_cursor_open = 'NEW'.
process database selection for new line items
CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
EXPORTING
i_block_data = 'X'
i_block_size = sd_max_lines
IMPORTING
flag_cursor_open = ld_cursor_flag
CHANGING
c_t_faglpose = lt_faglpose.
IF ld_cursor_flag IS INITIAL.
CLEAR sd_cursor_open.
ELSE.
sd_cursor_open = 'NEW'.
ENDIF.
ENDIF.
IF sd_updmode = sbiwa_c_updmode_delta OR
sd_updmode = sbiwa_c_updmode_repeat.
IF sd_cursor_open IS INITIAL OR
sd_cursor_open = 'CHANGED'.
process database selection for changed line items
CALL FUNCTION 'FAGL_GET_LINE_ITEMS'
EXPORTING
i_block_data = 'X'
i_block_size = sd_max_lines
i_changed_records = 'X'
IMPORTING
flag_cursor_open = ld_cursor_flag
CHANGING
c_t_faglpose = lt_faglpose.
IF ld_cursor_flag IS INITIAL.
CLEAR sd_cursor_open.
ELSE.
sd_cursor_open = 'CHANGED'.
ENDIF.
ENDIF.
ENDIF.
there is no more data to read
IF ld_cursor_flag IS INITIAL.
sd_no_more_data = 'X'.
ENDIF.
fill additional bw fields
PERFORM convert_data
USING lt_faglpose
sd_rldnr
i_updmode
CHANGING e_t_faglposbw[].
ENDCASE.
ADD 1 TO sd_counter_datapakid.
ENDIF. "Initialization mode or data extraction ?
ENDCASE.
ENDFUNCTION. -
New G/L Line item Datasource 0FI_GL_14 not extracting exchange rate field
Hi,
We are implementing new G/L Line item datasource and standarad field of this datasource KURSE - exchange rate field not extracting data.
Debugged standard extractor function module but field for exchange rate is not populating even there is a value in the base table BKPF.
Please advise on this.
Thanks
UDAY
Edited by: Udaybi on Apr 12, 2011 5:30 AMDid you solve the issue? I am facing the same issue too.
-
How to add new price break lines to existing PO quotations?
Hi,
I am using a custom interface (to insert quotations data into PO headers/lines interface tables) and PO documents open interface to create PO Quotations in Oracle.
I need to modify this interface to:
1. Update existing price break lines for a quotation line.
2. Add new price break lines to existing quotation line(which may/may not have exsiting price break lines).
Please let me know:
1. What modifications need to be done to the existing code.
2. What values needs to be passed to the action columns in PO_HEADERS_INTERFACE and PO_LINES_INTERFACE for above scenarios?
Any ideas/help will be appreciated.
Thanks
ImranHi Imran,
I have done a similar exercise for BPA price breakup.. Let me know if you need that as reference. I can share that :).. Please provide your personal mail id..
Regards,
S.P DASH -
Add new column at line item level in MIR7 transaction
Hi All,
I would like to know how to add new column at line item level for GL Account
tab in MIR7 transaction. could you please let me know how do i add new
column in MIR7 transaction. Please let me know is there any user exit or any
other wat to do it.
Thanks,
raoHi,
The customer include CI_FMBL can only be used with FMPEP and not with other transaction like FMBB.
Technically speaking, the structure CI_FMBL must be part of many other interfaces like the one use by BAdI 'FMKU_BUDGET_EVNT'.
In order to add such customer fields in FMPEP, you have to use the BAdI 'FMBW_CUSTOMER'. For instruction, you have to look at the note 1356725 and the instruction of paragraph 30. Please read the instruction and start to do your implementation.
With the BAdI 'FMBW_CUSTOMER', you can use the PBO and PAI for handling the customer fields. There is no other place to populate these customer fields. Do you want to use customer fields in FMPEP? Please check note 1356725 for reference.
I believe this answer your inquiry.
Best Regards,
Vanessa Barth. -
OM: Apply Hold after new a order line on line level..
Hi All,
There is an issue that we have to apply hold on line level when order is changed.(include update line or new line)
And we try to use trigger(with PRAGMA AUTONOMOUS_TRANSACTION) to call Apply Hold API.
It work when existed order lines are changed.
But it not work when new a order line, at the after-insert moment, it CAN NOT apply Hold on this immature order line.
How can we fulfill this requirement?
Or the requirement is nonsense...
Any suggestion will be appreciated.
Best regards,
ZhxianglR U going to use any bapi to split the line items???
-
Import new sales order line in existing sales order
Hi All,
I want to import new sales order line in existing sales order using these open Interface tables or APIs.
I did some test but the import request always give me the error message:
You are trying to insert an existing order or update an order that does not exist. Please enter a correct operation code.
Help..
BR,
Edited by: user7993358 on 2011/5/26 下午 8:48Hi,
The script available in Oracle Note 746796.1 may be of help with your troubleshooting.
Cheers,
Arun -
Can anyone tell me how to insert the new sales order lines using API.
Hi,
I am trying to Insert new sales order lines using oe_order_pub.Process_Order API, but i am unable to insert.
Help me on this.
Thanks in Adavance
Shravan Kumar.Hi,
Have you checked this link?
http://download-west.oracle.com/docs/cd/B25516_08/current/acrobat/115omapi.zip
it has extensive information on OM APIs
Regards
Prashant Pathak -
hello i was wondering if they will release a new macbook pro line like late 2011 early 2012 because i wan't to get one but last time i bought a mac the new one came out a week later
It is purely speculation at this point so I don't think anything will be very accurate but if you look at the history of releases, MacBook Pros have been refreshed in early spring late winter.
-
Programm Front Line Commando
Do you want to bay one Ladge Crate of gold for 20USD
Buy
Please contact iTunes support to complate this transaction
ERROR - purchase failedYou need to contact iTunes Customer Support. There is a "Contact Us" link at the bottom right of every forum page.
Best of luck. -
I own a Mac. I want to install some new programms but itunes wants to upgrade itself and wants me to agree with some conditions. I WILL not agree to those conditions.
How can I install software now? The stupid screen keeps popping up that itunes wants to be updated. Going round in a circle here.Well, if you want to use iTunes and whatever security or changes have been made with the iTunes Agreement have changed since last time, and to work with the iTunes Store....
Clone your system.
You can also turn off updates.
Are you on Lion? And already have iTunes 11? You can manaully download and go to the support page and see what changes were made and other requirements.
There is a forum for issues with itunes (but not with the software license and agreement)
iTunes 11.1.3This version of iTunes resolves an issue where the equalizer may not work as expected and improves performance when switching views in large iTunes libraries. This update also includes additional minor bug fixes. Nov 5, 2013
http://www.apple.com/support/itunes/ -
New programme to connect to my laptop?
Can someone please advise me on the new programme that has been launched recently that enables me to connect to my laptop from my phone, i heard it today and cant remember what its called??!!
It was something like "loose my laptop", i think!!
Message was edited by: jdickoIf it's new, it doesn't make sense that it's asking for a password.
In any event, try a system reset first. It cures many ills and it's quick, easy and harmless...
Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo. Ignore the "Slide to power off" text if it appears. You will not lose any apps, data, music, movies, settings, etc.
I really don't expect much from the reset. If you're still stuck, you need to go into "Recovery Mode."
There have been some problems accessing pages on the Apple web site. If the hyperlink gives you a "We're sorry" message, try again.
Maybe you are looking for
-
Report On Data As Of A Specific Date
Post Author: Todd CA Forum: General We are currently using Crystal 10 to report on employee data housed in Lawson. We occasionally need to pull data on employee history so that we can see employee data as it appeared on a specific date in time (i.e.
-
Hey all found out my problem with my ipod it said its corrupted when i finally got my computer to see it. but it will not format it says there is a error can not format. Does anyone know how I can get it to format or where I need to send it to get it
-
I have a master/detail page that has some non-destructive filters that filter the master list (thumbnails) based on one or multiple criteria. sometimes the different criteria combinations return nothing after the filter. and the master list(spry:repe
-
Is it possible to link two form fields together in a PDF form? I am creating a PDF form from an existing printed form, and some of the questions originally had two lines available for response. I want the user to still have two lines to use, but with
-
ECC 6.0 dialog installation error
Hi I am getting following error while trying to install ECC 6.0 dialog instance on UNIX with oracle database. FJS-00003 TypeError: nw.getJavaHome() has no properties (in script NW_DI|ind|ind|ind|ind, line 50430: ???) ERROR [sixxcstepexecute.cpp