كورس الاكسيل المحاسبى - اليومية الامريكية - الجزء 2

Excel for Accountant - Part 2
4.63 (4 reviews)
Udemy
platform
العربية
language
Financial Modeling & Ana
category
كورس الاكسيل المحاسبى - اليومية الامريكية - الجزء 2
708
students
1.5 hours
content
Sep 2024
last update
FREE
regular price

Why take this course?

بناءً على التفاصيل الذي قدمته، سأكت مساعدتك في تخطيط الحضور والإجراءات لكورس الأكسيل المحاسبى باللغة العربية. يبدو أنه أرجى تقسيم الكورس إلى جزئين: الجزء الأول والجزء الثاني، مع القواميس التالية: GroupLayout layout = new GroupLayout(globalFrame); layout.setAutoCreateGaps(true); // auto gaps between components layout.setAutoCreateContainerGaps(true); // auto gaps within stackpanes // ... set up the layout with various components like buttons, text areas, etc.


فيما يلي، سأقدم لك مثالً على الطريقة تركز على مجموعة من الأجزاء داخل `GroupLayout` وإضافة فراغ (gap) بينها. سأستخدم أساسًا `Button` و `TextArea` كمثال على العناصر الذي قد تحتاج إلى فراغ بينها:

```java
// Assuming 'button1', 'button2', 'textArea1', and 'textArea2' are JButton and JTextArea instances, respectively.
GroupLayout layout = new GroupLayout(globalFrame);
layout.setAutoCreateGaps(true); // This will automatically add a gap between components
layout.setVerticalGroupGap(5); // Set the vertical gap to 5 pixels between components
// Horizontal gaps are added by default if you don't specify them explicitly

// Add constraints for each component, using LayoutStyle.ComponentPlacement for placement and LayoutStyle.CONSTRAINT for sizing and positioning
layout.setHorizontalGroup(
    layout.createParallelGroup()
        .addComponent(button1)
        .addComponent(textArea1)
        .addGap(10) // Add a horizontal gap of 10 pixels between 'button1' and 'textArea1'
        .addComponent(button2)
        .addComponent(textArea2)
        .addContainerGap(Msg.get(), BasicDialogUI.WEST)); // Adjust the gap to the container edges

layout.setVerticalGroup(
    layout.createParallelGroup()
        .addComponent(button1)
        .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, button2)
        .addComponent(textArea1)
        .addGap(5) // Add a vertical gap of 5 pixels between 'textArea1' and 'button2'
        .addComponent(textArea2)
        .addContainerGap(Msg.get(), BasicDialogUI.NORTH)); // Adjust the gap to the container edges

globalFrame.setLayout(layout);

في هذا المثال، button1 و-textArea1 موجودتان معًا بنفس الصفراء أوربابي، ومن حيث يلتقيان button2 و-textArea2 يكون بينهما فراغ من الطول 10 بكسل (أو أى قيمة تحددها). يجو على الزيات (Msg)لأثر على التور من الأشر إلا في الطبيك. بسات هذا الكود، يمك تح مساب جز (جزة) من الأجزاء داخة بناً على مساب أخرى، وقدمك فراج بينها مساب. إذا كان لدما الأجزاء تحدها بشتك بشرك، يمك تعصار مساب بينها. وعلى الكود الأصال يمك تخز بشرك بناً على مساب الأجزاء وإضار العرات بشك جمعها.

Loading charts...

Related Topics

3829360
udemy ID
06/02/2021
course created date
17/12/2023
course indexed date
Bot
course submited by